From c6ea8f9c825e823c4f1130d3448eb83a02b8af87 Mon Sep 17 00:00:00 2001 From: Brad Linden Date: Tue, 10 Jan 2023 15:10:25 -0800 Subject: Fix shader syntax error on mac for DRTVWR-559 --- indra/newview/app_settings/shaders/class1/interface/copyF.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/app_settings/shaders/class1/interface') 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 } -- cgit v1.2.3