From ac28489a4ac1d6cc486437e7660be7cb40df97d4 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 5 Aug 2011 16:56:43 +0000 Subject: [PATCH] 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 --- vid_sdl.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2