summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-03-26 13:09:09 -0500
committerDave Parks <davep@lindenlab.com>2012-03-26 13:09:09 -0500
commitce0f455b7cb5a5d45e7682e4a4180b577eda3c5a (patch)
treeaede05b9e27a9880c64aaa0d4ba2de10a1a98111
parentf4452a377aac8b71acafb963cbf9f65dace36b4a (diff)
MAINT-806 Fix for some shaders failing to link on ATI x800.
-rw-r--r--indra/llrender/llgl.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index c629ac33cc..a819ab0b79 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -605,11 +605,8 @@ bool LLGLManager::initGL()
#endif // LL_WINDOWS
#if (LL_WINDOWS || LL_LINUX) && !LL_MESA_HEADLESS
- // release 7277 is a point at which we verify that ATI OpenGL
- // drivers get pretty stable with SL, ~Catalyst 8.2,
- // for both Win32 and Linux.
- if (mDriverVersionRelease < 7277 &&
- mDriverVersionRelease != 0) // 0 == Undetectable driver version - these get to pretend to be new ATI drivers, though that decision may be revisited.
+ // count any pre OpenGL 3.0 implementation as an old driver
+ if (mGLVersion < 3.f)
{
mATIOldDriver = TRUE;
}