From 341b2620d6da3bbd08e82801f4f7ad16b7a74176 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 16 Oct 2010 00:51:42 +0200 Subject: [PATCH] oops, add back 3 lines I accidentally removed --- clvm_cmds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clvm_cmds.c b/clvm_cmds.c index c143b9f5..c736cb45 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -3078,6 +3078,9 @@ static void VM_DrawPolygonCallback (const entity_render_t *ent, const rtlight_t GL_CullFace(GL_NONE); GL_DepthTest(true); // polys in 3D space shall always have depth test GL_DepthRange(0, 1); + R_Mesh_VertexPointer(polys->data_vertex3f, 0, 0); + R_Mesh_ColorPointer(polys->data_color4f, 0, 0); + R_Mesh_TexCoordPointer(0, 2, polys->data_texcoord2f, 0, 0); for (surfacelistindex = 0;surfacelistindex < numsurfaces;) { -- 2.39.2