Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

mouse cursor before drawing the main window #97

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions es-core/src/Renderer_init_sdlgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ namespace Renderer
return false;
}

//hide mouse cursor
initialCursorState = SDL_ShowCursor(0) == 1;

SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
Expand Down Expand Up @@ -109,9 +112,6 @@ namespace Renderer
}
}

//hide mouse cursor
initialCursorState = SDL_ShowCursor(0) == 1;

return true;
}

Expand Down