]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Forcibly disable the alphatocoverage feature because we don't currently use MSAA...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 25 May 2020 08:13:16 +0000 (08:13 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 25 May 2020 08:13:16 +0000 (08:13 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12571 d7cf8633-e32d-0410-b094-e92efae38249

vid_shared.c

index ceb1c8390daea09ef0152e25dd392bb0b3efed4c..ec7eba1154d9424fdf48075365dd8abe49e0ae04 100644 (file)
@@ -815,6 +815,8 @@ void GL_Setup(void)
                else
                        vid.allowalphatocoverage = false;
        }
+       // currently MSAA antialiasing is not implemented for fbo viewports, so we actually have to force this off anyway.
+       vid.allowalphatocoverage = false;
 #endif
        CHECKGLERROR