Skip to content

Commit

Permalink
water.cpp GL_QUADS -> GL_TRIANGLE_FAN for #234
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Sep 12, 2022
1 parent 073d002 commit 2254830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/render/water.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ void renderflatwater(int x, int y, int z, int rsize, int csize, int mat)
if(gle::attribbuf.empty())
{
defvertwtn();
gle::begin(GL_QUADS);
gle::begin(GL_TRIANGLE_FAN);
}
vertwtn(x, y, z);
vertwtn(x+rsize, y, z);
Expand Down

0 comments on commit 2254830

Please sign in to comment.