diff options
author | Graham Linden <graham@lindenlab.com> | 2019-03-15 14:09:23 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-03-15 14:09:23 -0700 |
commit | d5f3e7f28e5ce0f7f1af611759a743c511e250c9 (patch) | |
tree | 02065f194f96f84814b18999a2a0a15ec329597f | |
parent | 83941a5ec67bc006092f71664d213ecfa6ccf2b8 (diff) |
Disable optimizations to batch fullbright and emissive draws together to minimize GL blend state changes.
-rw-r--r-- | indra/newview/lldrawpoolalpha.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp index ae050c0c1b..9f65a70a86 100644 --- a/indra/newview/lldrawpoolalpha.cpp +++ b/indra/newview/lldrawpoolalpha.cpp @@ -49,9 +49,9 @@ #include "llspatialpartition.h" #include "llglcommonfunc.h" -// These optimizations may induce lighting, texturing, and/or GL state bugs -#define BATCH_FULLBRIGHTS 1 -#define BATCH_EMISSIVES 1 +// These optimizations can and will induce lighting, texturing, and/or GL state bugs +#define BATCH_FULLBRIGHTS 0 +#define BATCH_EMISSIVES 0 BOOL LLDrawPoolAlpha::sShowDebugAlpha = FALSE; |