summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-01-10 18:42:21 -0600
committerDave Parks <davep@lindenlab.com>2023-01-10 18:42:21 -0600
commit28c245b071e0dfdbacce6f287eb80f57f850d857 (patch)
treefcc0c662296e3fb2b13394f6a4db3ec058c7e436 /indra/newview/app_settings/shaders/class1
parent68da705f3ba284928c7e23acd4164d56dea17af9 (diff)
parentc6ea8f9c825e823c4f1130d3448eb83a02b8af87 (diff)
Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r--indra/newview/app_settings/shaders/class1/interface/copyF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/interface/copyF.glsl b/indra/newview/app_settings/shaders/class1/interface/copyF.glsl
index 764bace621..65d3c20091 100644
--- a/indra/newview/app_settings/shaders/class1/interface/copyF.glsl
+++ b/indra/newview/app_settings/shaders/class1/interface/copyF.glsl
@@ -33,7 +33,7 @@ out vec4 frag_color;
void main()
{
frag_color = texture(diffuseMap, tc);
-#if COPY_DEPTH
+#if defined(COPY_DEPTH)
gl_FragDepth = texture(depthMap, tc).r;
#endif
}