diff options
author | Brad Linden <brad@lindenlab.com> | 2023-01-10 15:10:25 -0800 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2023-01-10 15:10:25 -0800 |
commit | c6ea8f9c825e823c4f1130d3448eb83a02b8af87 (patch) | |
tree | 25fd5da391456665559a093cbc964d8389569356 /indra | |
parent | d224fa0b62877368fb9bae210063850bd853f6b6 (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.glsl | 2 |
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 } |