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.5.0~53 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ac28489a4ac1d6cc486437e7660be7cb40df97d4;p=xonotic%2Fdarkplaces.git 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 ::stable-branch::merge=cb2b1377bf63430d14ce64304e7ed6017591e2ec --- 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