We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16470e5 commit ada32cdCopy full SHA for ada32cd
es-core/src/Renderer_init_sdlgl.cpp
@@ -36,6 +36,9 @@ namespace Renderer
36
return false;
37
}
38
39
+ //hide mouse cursor early
40
+ initialCursorState = SDL_ShowCursor(0) == 1;
41
+
42
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
43
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
44
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
@@ -108,9 +111,6 @@ namespace Renderer
108
111
LOG(LogWarning) << "Tried to enable vsync, but failed! (" << SDL_GetError() << ")";
109
112
110
113
- //hide mouse cursor
- initialCursorState = SDL_ShowCursor(0) == 1;
-
114
return true;
115
116
0 commit comments