summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-04-28 09:18:35 -0700
committerBrad Linden <brad@lindenlab.com>2023-04-28 09:18:35 -0700
commitecc66f7ce230007d2e77b2f186abf782c9fe774a (patch)
tree013b8b9e8c0ab093b3cb613a5f750237390536d3 /indra/newview/app_settings
parent23addd8fb526d93c8223d5f38ba74a140894d8e5 (diff)
Fix for mac shader loading failure freeze at startup SL-19668
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/postDeferredGammaCorrect.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/postDeferredGammaCorrect.glsl b/indra/newview/app_settings/shaders/class1/deferred/postDeferredGammaCorrect.glsl
index 31cad591be..80816912da 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/postDeferredGammaCorrect.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/postDeferredGammaCorrect.glsl
@@ -177,7 +177,7 @@ void main()
diff.rgb = toneMap(diff.rgb);
-#if LEGACY_GAMMA
+#ifdef LEGACY_GAMMA
#ifndef NO_POST
diff.rgb = legacyGamma(diff.rgb);
#endif