summaryrefslogtreecommitdiff
path: root/common/terrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/terrain.cpp')
-rw-r--r--common/terrain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/terrain.cpp b/common/terrain.cpp
index 1e817cd..3146258 100644
--- a/common/terrain.cpp
+++ b/common/terrain.cpp
@@ -613,7 +613,7 @@ ty = (th*eye[1])/(2*pCam->m_zFar);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glTexCoordPointer(2, GL_FLOAT, 0, coords);
- glDrawArrays(GL_QUADS, 0, 4);
+ glDrawArrays(GL_TRIANGLE_FAN, 0, 4);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
@@ -623,7 +623,7 @@ ty = (th*eye[1])/(2*pCam->m_zFar);
{
glColor3fv(m_fColor);
- glDrawArrays(GL_QUADS, 0, 4);
+ glDrawArrays(GL_TRIANGLE_FAN, 0, 4);
}
glDisableClientState(GL_VERTEX_ARRAY);