summaryrefslogtreecommitdiff
path: root/indra/llrender/llgl.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-07-05 16:58:00 -0400
committerLogan Dethrow <log@lindenlab.com>2011-07-05 16:58:00 -0400
commit2997e5cd24dc5a671cea7281eb9d11e1146fc28c (patch)
tree9b350513117db2cb40fc2d3de69bd5331b015b94 /indra/llrender/llgl.cpp
parent975975029d7f248cdf917da670ffd6c6b98d40c1 (diff)
parent662a92784328f31b680f4f049350dd0f6cacf4c7 (diff)
Merge.
Diffstat (limited to 'indra/llrender/llgl.cpp')
-rw-r--r--indra/llrender/llgl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index a3aed4dd8a..c224ab0e9b 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -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);