summaryrefslogtreecommitdiff
path: root/indra/llrender/llgl.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-06-30 21:27:04 -0400
committerOz Linden <oz@lindenlab.com>2011-06-30 21:27:04 -0400
commit08ef4819d64bca0ac55cd9d4b77602e3e219d3a2 (patch)
treea7995d822c7fb2b1fb7403deb8a81e6e731420bc /indra/llrender/llgl.cpp
parent06b314aaf2d1d1176c846a3bdb17738de98252b7 (diff)
parent662a92784328f31b680f4f049350dd0f6cacf4c7 (diff)
merge latest changes from viewer-development
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);