From: havoc Date: Sun, 20 May 2018 23:38:27 +0000 (+0000) Subject: Bugfix: Don't use OpenGL 3.2 core context just yet - more fixes needed first. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9bb5afc90d6cfc8afe492068aae3f8612319b6f4;p=xonotic%2Fdarkplaces.git Bugfix: Don't use OpenGL 3.2 core context just yet - more fixes needed first. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12426 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_sdl.c b/vid_sdl.c index 8511dc03..6fe76123 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -2050,9 +2050,6 @@ static qboolean VID_InitModeGL(viddef_mode_t *mode) SDL_GL_SetAttribute (SDL_GL_CONTEXT_MAJOR_VERSION, 2); SDL_GL_SetAttribute (SDL_GL_CONTEXT_MINOR_VERSION, 0); SDL_GL_SetAttribute (SDL_GL_RETAINED_BACKING, 1); -#else - SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3); - SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 2); #endif video_bpp = mode->bitsperpixel;