SH-1838 Fix for black screen when enabling lighting and shadows on an ATI machine.

master
Dave Parks 2011-06-21 16:11:04 -05:00
parent fe1f59b8b8
commit 2ac1fe03e8
1 changed files with 7 additions and 0 deletions

View File

@ -568,6 +568,13 @@ bool LLGLManager::initGL()
glGetIntegerv(GL_MAX_SAMPLE_MASK_WORDS, &mMaxSampleMaskWords);
}
#if LL_WINDOWS
if (mIsATI)
{ //using multisample textures on ATI results in black screen for some reason
mHasTextureMultisample = FALSE;
}
#endif
if (mHasFramebufferObject)
{
glGetIntegerv(GL_MAX_SAMPLES, &mMaxSamples);