t/oxr: Fix type issue with sdl2 code

This commit is contained in:
Ryan Pavlik 2019-12-02 17:21:23 -06:00
parent 9e953083fc
commit c123195800

View file

@ -81,7 +81,7 @@ sdl2_window_init(struct sdl2_program *p)
SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS,
SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG);
SDL_WindowFlags window_flags = 0;
int window_flags = 0;
window_flags |= SDL_WINDOW_SHOWN;
window_flags |= SDL_WINDOW_OPENGL;
window_flags |= SDL_WINDOW_RESIZABLE;