]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Explicitly disable multisample
authoruis <uis9936@gmail.com>
Sun, 10 Dec 2023 18:28:55 +0000 (21:28 +0300)
committeruis <uis9936@gmail.com>
Sun, 10 Dec 2023 18:28:55 +0000 (21:28 +0300)
vid_shared.c

index ab55661a6eff572af83f574e1c2f9f8be59b552a..d8861d722707530bf127bba79788a681fac33e29 100644 (file)
@@ -838,7 +838,10 @@ void GL_Setup(void)
                if (samples > 1)
                        qglEnable(GL_MULTISAMPLE);
                else
+               {
+                       qglDisable(GL_MULTISAMPLE);
                        vid.allowalphatocoverage = false;
+               }
        }
        // currently MSAA antialiasing is not implemented for fbo viewports, so we actually have to force this off anyway.
        vid.allowalphatocoverage = false;