diff --git a/source/src/rendertext.cpp b/source/src/rendertext.cpp index 42d81de8..53dde667 100644 --- a/source/src/rendertext.cpp +++ b/source/src/rendertext.cpp @@ -266,10 +266,10 @@ void draw_envbox_aux(float s0, float t0, int x0, int y0, int z0, { glBindTexture(GL_TEXTURE_2D, tex->id); glBegin(GL_QUADS); - glTexCoord2f(s3, t3); glVertex3d(x3, y3, z3); - glTexCoord2f(s2, t2); glVertex3d(x2, y2, z2); - glTexCoord2f(s1, t1); glVertex3d(x1, y1, z1); - glTexCoord2f(s0, t0); glVertex3d(x0, y0, z0); + glTexCoord2f(s3, t3); glVertex3i(x3, y3, z3); + glTexCoord2f(s2, t2); glVertex3i(x2, y2, z2); + glTexCoord2f(s1, t1); glVertex3i(x1, y1, z1); + glTexCoord2f(s0, t0); glVertex3i(x0, y0, z0); glEnd(); xtraverts += 4; }