From: divverent Date: Sun, 16 Oct 2011 12:39:10 +0000 (+0000) Subject: for now, turn off FBO if multisampling as their combination is not implemented yet X-Git-Tag: xonotic-v0.6.0~163^2~129 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4dfe3710c36945df2d7de419207f05b6aa6a7ac4;p=xonotic%2Fdarkplaces.git for now, turn off FBO if multisampling as their combination is not implemented yet git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11428 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_shared.c b/vid_shared.c index 925ef592..1e1d4ae1 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -1126,7 +1126,15 @@ 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; }