]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
we probably don't need to call SDL_GL_LoadLibrary on Maemo...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 5 Aug 2011 16:56:43 +0000 (16:56 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 14 Aug 2011 14:38:23 +0000 (16:38 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11268 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=cb2b1377bf63430d14ce64304e7ed6017591e2ec

vid_sdl.c

index 9af5f2c30af66a77b43792f622d553d5c16120ea..5eba5d05631bce31836ffd2a5c51d6b1d3b64dd6 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -2045,6 +2045,7 @@ qboolean VID_InitModeGL(viddef_mode_t *mode)
        notfirstvideomode = true;
 #endif
 
+#ifndef USE_GLES2
        // SDL usually knows best
        drivername = NULL;
 
@@ -2057,6 +2058,7 @@ qboolean VID_InitModeGL(viddef_mode_t *mode)
                Con_Printf("Unable to load GL driver \"%s\": %s\n", drivername, SDL_GetError());
                return false;
        }
+#endif
 
 #ifdef __IPHONEOS__
        // mobile platforms are always fullscreen, we'll get the resolution after opening the window