scope drawing fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4825 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-05-08 21:11:02 +00:00
parent fcf4470d3b
commit 5ddec43659
5 changed files with 88 additions and 78 deletions
+2 -2
View File
@@ -481,11 +481,11 @@ void draw_envbox_face(float s0, float t0, float x0, float y0, float z0,
Texture *tex)
{
glBindTexture(GL_TEXTURE_2D, tex->id);
glBegin(GL_TRIANGLE_FAN);
glBegin(GL_TRIANGLE_STRIP);
glTexCoord2f(s3, t3); glVertex3f(x3, y3, z3);
glTexCoord2f(s2, t2); glVertex3f(x2, y2, z2);
glTexCoord2f(s1, t1); glVertex3f(x1, y1, z1);
glTexCoord2f(s0, t0); glVertex3f(x0, y0, z0);
glTexCoord2f(s1, t1); glVertex3f(x1, y1, z1);
glEnd();
xtraverts += 4;
}