]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_shared.c
if vid_samples is > 1 then do not use fbo view or water renders
[xonotic/darkplaces.git] / vid_shared.c
index 1e1d4ae107876783450c300ad8d2b65a7d2f91c8..925ef592494819de82f027b27dd5898afe39d155 100644 (file)
@@ -1126,15 +1126,7 @@ void VID_CheckExtensions(void)
                int samples = 0;
                qglGetIntegerv(GL_SAMPLES_ARB, &samples);
                if (samples > 1)
-               {
                        qglEnable(GL_MULTISAMPLE_ARB);
-
-                       // currently, multisampling is not supported by our FBO paths
-                       // so for now, disable FBOs if multisample is requested
-                       // FIXME instead, support FBOs + multisampling, and turn off
-                       // multisampling on chipsets that don't support this combination
-                       vid.support.ext_framebuffer_object = false;
-               }
                else
                        vid.allowalphatocoverage = false;
        }