]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
oops, add back 3 lines I accidentally removed
authorRudolf Polzer <divverent@alientrap.org>
Fri, 15 Oct 2010 22:51:42 +0000 (00:51 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 15 Oct 2010 22:51:42 +0000 (00:51 +0200)
clvm_cmds.c

index c143b9f538362b441aed77344f22de48af99b7d6..c736cb4583c1a35965ba1d24b9931585263203bf 100644 (file)
@@ -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;)
        {