From 46170b73d2ed1b5cd7c4b6ff0af2981b46282f92 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 20 Sep 2008 12:10:26 +0000 Subject: [PATCH] remove some unneeded code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8507 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_glx.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vid_glx.c b/vid_glx.c index 40cebe1b..61d83b0c 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -730,13 +730,6 @@ int VID_InitMode(int fullscreen, int width, int height, int bpp, int refreshrate VID_BuildGLXAttrib(attrib, bpp == 32, stereobuffer, samples); visinfo = qglXChooseVisual(vidx11_display, vidx11_screen, attrib); - if (!visinfo && (samples == 1)) - { - /* Some Mesa drivers reject sample buffers with 1 sample, so try - * entirely without one */ - VID_BuildGLXAttrib(attrib, bpp == 32, stereobuffer, 0); - visinfo = qglXChooseVisual(vidx11_display, vidx11_screen, attrib); - } if (!visinfo) { Con_Print("Couldn't get an RGB, Double-buffered, Depth visual\n"); -- 2.39.2