From c12319580060fa575440859d508cf280f79dcb0c Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Mon, 2 Dec 2019 17:21:23 -0600 Subject: [PATCH] t/oxr: Fix type issue with sdl2 code --- src/xrt/targets/openxr/oxr_sdl2_hack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/targets/openxr/oxr_sdl2_hack.c b/src/xrt/targets/openxr/oxr_sdl2_hack.c index 697cd5ec5..ca62c2e1c 100644 --- a/src/xrt/targets/openxr/oxr_sdl2_hack.c +++ b/src/xrt/targets/openxr/oxr_sdl2_hack.c @@ -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;