]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
remove some unneeded code
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 20 Sep 2008 12:10:26 +0000 (12:10 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 20 Sep 2008 12:10:26 +0000 (12:10 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8507 d7cf8633-e32d-0410-b094-e92efae38249

vid_glx.c

index 40cebe1b10cde7f910958db4b500a2e37be35797..61d83b0c2f8456cdbeeb05a65b480a3b34ad1858 100644 (file)
--- 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");