We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f499f6d commit ed6c434Copy full SHA for ed6c434
1 file changed
src/backends/sdl2_renderer.cpp
@@ -148,7 +148,7 @@ ret_code Renderer::initRenderer(Context &ctx) {
148
return ErrorCode;
149
}
150
151
- if (SDL_Init(SDL_INIT_VIDEO) == -1) {
+ if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER) == -1) {
152
ctx.mLogger(LogSeverity::Error, "Error while SDL_Init for video subsystem.");
153
ctx.mCreated = false;
154
0 commit comments