Skip to content

Commit

Permalink
- fixed shader compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Sep 21, 2021
1 parent a0a90f8 commit 0db7a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/shaders/glsl/main.fp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0db7a62

Please sign in to comment.