From: uis Date: Sat, 30 Dec 2023 04:59:12 +0000 (+0300) Subject: Disable dithering for high colordepth X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8da135fd159a521cd9deec6ef5c9101c3e6545e7;p=xonotic%2Fdarkplaces.git Disable dithering for high colordepth It is enabled by default in OpenGL --- diff --git a/vid_shared.c b/vid_shared.c index d8861d72..2e880cac 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -843,6 +843,8 @@ void GL_Setup(void) vid.allowalphatocoverage = false; } } + if (vid_bitsperpixel.integer >= 24) + qglDisable(GL_DITHER); // currently MSAA antialiasing is not implemented for fbo viewports, so we actually have to force this off anyway. vid.allowalphatocoverage = false; #endif