summaryrefslogtreecommitdiff
path: root/source/gl_surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/gl_surf.c')
-rw-r--r--source/gl_surf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gl_surf.c b/source/gl_surf.c
index d121847..449dbf0 100644
--- a/source/gl_surf.c
+++ b/source/gl_surf.c
@@ -220,6 +220,7 @@ static void GL_BuildSurfacePoly( bsp_t *bsp, mface_t *surf, vec_t *vbo ) {
int bmins[2], bmaxs[2];
surf->texnum[0] = texinfo->image->texnum;
+ surf->texnum[1] = 0;
// normalize texture coordinates
scale[0] = 1.0f / texinfo->image->width;