Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-sts committed May 26, 2024
1 parent 5b30c26 commit 3badddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/engine/shaders/frame/frame.frag
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ out vec4 color;

void main()
{
if (fTexID == -1) {
if (fTexID == -1.0) {
color = vec4(0.0, 0.0, 0.0, 0.0);
} else {
color = texture(uTextures, vec3(fTexCoords, fTexID));
Expand Down

0 comments on commit 3badddf

Please sign in to comment.