summaryrefslogtreecommitdiff
path: root/src/refresh/gl/mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/refresh/gl/mesh.c')
-rw-r--r--src/refresh/gl/mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refresh/gl/mesh.c b/src/refresh/gl/mesh.c
index e469339..490a64e 100644
--- a/src/refresh/gl/mesh.c
+++ b/src/refresh/gl/mesh.c
@@ -591,7 +591,7 @@ static void draw_alias_mesh(maliasmesh_t *mesh)
GL_BindTexture(0, texnum_for_mesh(mesh));
(*tessfunc)(mesh);
- c.trisDrawn += mesh->numverts;
+ c.trisDrawn += mesh->numtris;
if (shadelight) {
GL_ArrayBits(GLA_VERTEX | GLA_TC | GLA_COLOR);