]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
Bugfix: Don't use OpenGL 3.2 core context just yet - more fixes needed first.
[xonotic/darkplaces.git] / vid_sdl.c
index 8511dc03dd9a760c95c2ddc7b19b9bf3178ba133..6fe761233db55a19041fbd3bbe03ead6e5d2b29a 100644 (file)
--- 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;