- fixed shader compilation.

This commit is contained in:
Christoph Oelckers 2021-09-21 21:07:14 +02:00
parent a0a90f874f
commit 0db7a6206b

View file

@ -204,7 +204,7 @@ vec4 getTexel(vec2 st)
} }
if (uTextureMode & TEXF_ClampY) if ((uTextureMode & TEXF_ClampY) != 0)
{ {
if (st.t < 0.0 || st.t > 1.0) if (st.t < 0.0 || st.t > 1.0)
{ {