removing some GL_QUADS usage

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4790 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-03-15 18:34:43 +00:00
parent 5607f5a37e
commit 0e52f84a70
5 changed files with 20 additions and 22 deletions
+1 -1
View File
@@ -481,7 +481,7 @@ void draw_envbox_face(float s0, float t0, float x0, float y0, float z0,
Texture *tex)
{
glBindTexture(GL_TEXTURE_2D, tex->id);
glBegin(GL_QUADS);
glBegin(GL_TRIANGLE_FAN);
glTexCoord2f(s3, t3); glVertex3f(x3, y3, z3);
glTexCoord2f(s2, t2); glVertex3f(x2, y2, z2);
glTexCoord2f(s1, t1); glVertex3f(x1, y1, z1);