Cleanup: unused argument warnings
This commit is contained in:
@@ -125,7 +125,7 @@ uint8_t GHOST_SystemSDL::getNumDisplays() const
|
||||
return SDL_GetNumVideoDisplays();
|
||||
}
|
||||
|
||||
GHOST_IContext *GHOST_SystemSDL::createOffscreenContext(GHOST_GLSettings glSettings)
|
||||
GHOST_IContext *GHOST_SystemSDL::createOffscreenContext(GHOST_GLSettings /*glSettings*/)
|
||||
{
|
||||
GHOST_Context *context = new GHOST_ContextSDL(0,
|
||||
NULL,
|
||||
@@ -732,12 +732,12 @@ GHOST_TSuccess GHOST_SystemSDL::getButtons(GHOST_Buttons &buttons) const
|
||||
return GHOST_kSuccess;
|
||||
}
|
||||
|
||||
char *GHOST_SystemSDL::getClipboard(bool selection) const
|
||||
char *GHOST_SystemSDL::getClipboard(bool /*selection*/) const
|
||||
{
|
||||
return (char *)SDL_GetClipboardText();
|
||||
}
|
||||
|
||||
void GHOST_SystemSDL::putClipboard(const char *buffer, bool selection) const
|
||||
void GHOST_SystemSDL::putClipboard(const char *buffer, bool /*selection*/) const
|
||||
{
|
||||
SDL_SetClipboardText(buffer);
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ class GHOST_SystemSDL : public GHOST_System {
|
||||
|
||||
bool processEvents(bool waitForEvent);
|
||||
|
||||
int setConsoleWindowState(GHOST_TConsoleWindowState action)
|
||||
int setConsoleWindowState(GHOST_TConsoleWindowState /*action*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ GHOST_WindowSDL::GHOST_WindowSDL(GHOST_SystemSDL *system,
|
||||
GHOST_TDrawingContextType type,
|
||||
const bool stereoVisual,
|
||||
const bool exclusive,
|
||||
const GHOST_IWindow *parentWindow)
|
||||
const GHOST_IWindow * /*parentWindow*/)
|
||||
: GHOST_Window(width, height, state, stereoVisual, exclusive),
|
||||
m_system(system),
|
||||
m_valid_setup(false),
|
||||
@@ -581,7 +581,7 @@ static SDL_Cursor *getStandardCursorShape(GHOST_TStandardCursor shape)
|
||||
return sdl_std_cursor_array[(int)shape];
|
||||
}
|
||||
|
||||
GHOST_TSuccess GHOST_WindowSDL::setWindowCursorGrab(GHOST_TGrabCursorMode mode)
|
||||
GHOST_TSuccess GHOST_WindowSDL::setWindowCursorGrab(GHOST_TGrabCursorMode /*mode*/)
|
||||
{
|
||||
return GHOST_kSuccess;
|
||||
}
|
||||
@@ -602,8 +602,13 @@ GHOST_TSuccess GHOST_WindowSDL::hasCursorShape(GHOST_TStandardCursor shape)
|
||||
return (getStandardCursorShape(shape)) ? GHOST_kSuccess : GHOST_kFailure;
|
||||
}
|
||||
|
||||
GHOST_TSuccess GHOST_WindowSDL::setWindowCustomCursorShape(
|
||||
uint8_t *bitmap, uint8_t *mask, int sizex, int sizey, int hotX, int hotY, bool canInvertColor)
|
||||
GHOST_TSuccess GHOST_WindowSDL::setWindowCustomCursorShape(uint8_t *bitmap,
|
||||
uint8_t *mask,
|
||||
int sizex,
|
||||
int sizey,
|
||||
int hotX,
|
||||
int hotY,
|
||||
bool /*canInvertColor*/)
|
||||
{
|
||||
if (m_sdl_custom_cursor) {
|
||||
SDL_FreeCursor(m_sdl_custom_cursor);
|
||||
|
||||
@@ -109,7 +109,7 @@ class GHOST_WindowSDL : public GHOST_Window {
|
||||
|
||||
GHOST_TWindowState getState() const;
|
||||
|
||||
GHOST_TSuccess setOrder(GHOST_TWindowOrder order)
|
||||
GHOST_TSuccess setOrder(GHOST_TWindowOrder /*order*/)
|
||||
{
|
||||
// TODO
|
||||
return GHOST_kSuccess;
|
||||
|
||||
Reference in New Issue
Block a user