Skip to content

Commit

Permalink
Fix terraindepth.frag warning on some systems
Browse files Browse the repository at this point in the history
```
[khr_callback:144] GL::SC(Other:High) : 0:18(36): warning: 'uv2' used uninitialized
```
  • Loading branch information
past-due committed Apr 9, 2019
1 parent 478c90f commit 189b18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/base/shaders/terraindepth.frag
Expand Up @@ -4,7 +4,7 @@
uniform sampler2D lightmap_tex;

#if (!defined(GL_ES) && (__VERSION__ >= 130)) || (defined(GL_ES) && (__VERSION__ >= 300))
out vec2 uv2;
in vec2 uv2;
out vec4 FragColor;
#else
varying vec2 uv2;
Expand Down

0 comments on commit 189b18d

Please sign in to comment.