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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user