summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-01-10 15:10:25 -0800
committerBrad Linden <brad@lindenlab.com>2023-01-10 15:10:25 -0800
commitc6ea8f9c825e823c4f1130d3448eb83a02b8af87 (patch)
tree25fd5da391456665559a093cbc964d8389569356 /indra
parentd224fa0b62877368fb9bae210063850bd853f6b6 (diff)
Fix shader syntax error on mac for DRTVWR-559
Diffstat (limited to 'indra')
-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
}