]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
Experimental restoration of GLES2 support. It *might* compile.
[xonotic/darkplaces.git] / vid_sdl.c
index 7c13bb9b51f7a702b4af7312f72ca323f24900d4..9b25807965a9f0889022c5b175d31816574008e4 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -1475,8 +1475,8 @@ static qboolean VID_InitModeGL(viddef_mode_t *mode)
        // https://trello.com/c/j56vUcwZ/81-centered-vs-undefined-window-position
        int xPos = SDL_WINDOWPOS_UNDEFINED;
        int yPos = SDL_WINDOWPOS_UNDEFINED;
-#ifndef USE_GLES2
        int i;
+#ifndef USE_GLES2
        const char *drivername;
 #endif