From: havoc Date: Fri, 5 Aug 2011 16:56:43 +0000 (+0000) Subject: we probably don't need to call SDL_GL_LoadLibrary on Maemo... X-Git-Tag: xonotic-v0.6.0~163^2~284 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=cb2b1377bf63430d14ce64304e7ed6017591e2ec we probably don't need to call SDL_GL_LoadLibrary on Maemo... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11268 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_sdl.c b/vid_sdl.c index 9af5f2c3..5eba5d05 100644 --- 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