From d5f3e7f28e5ce0f7f1af611759a743c511e250c9 Mon Sep 17 00:00:00 2001
From: Graham Linden <graham@lindenlab.com>
Date: Fri, 15 Mar 2019 14:09:23 -0700
Subject: Disable optimizations to batch fullbright and emissive draws together
 to minimize GL blend state changes.

---
 indra/newview/lldrawpoolalpha.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'indra')

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;
 
-- 
cgit v1.2.3