diff options
Diffstat (limited to 'source/gl_mesh.c')
-rw-r--r-- | source/gl_mesh.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/gl_mesh.c b/source/gl_mesh.c index e42599d..6296055 100644 --- a/source/gl_mesh.c +++ b/source/gl_mesh.c @@ -397,8 +397,10 @@ void GL_DrawAliasModel( model_t *model ) { #endif if( gl_showtris->integer ) { - //Tess_DrawSurfaceTriangles( ( int * )mesh->indices, - // mesh->numIndices ); + GL_EnableOutlines(); + qglDrawElements( GL_TRIANGLES, mesh->numIndices, GL_UNSIGNED_INT, + mesh->indices ); + GL_DisableOutlines(); } if( qglUnlockArraysEXT ) { qglUnlockArraysEXT(); |