X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=gl_rsurf.c;h=c48add3d89cf097a02e250da4778745a0d701aba;hp=ced25af4cd7e882dcf8fe4af5a9da11f6d4f4d51;hb=f4f603c440bc0a0a2dcb774fdcb93dd9ac7df9f9;hpb=28450d0ddd2790b82c48a07239fd3cddbef4d63c diff --git a/gl_rsurf.c b/gl_rsurf.c index ced25af4..c48add3d 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -364,7 +364,7 @@ static void R_DrawPortal_Callback(const entity_render_t *ent, const rtlight_t *r isvis ? 0.125f : 0.03125f); for (i = 0, v = vertex3f;i < numpoints;i++, v += 3) VectorCopy(portal->points[i].position, v); - R_Mesh_Draw(0, numpoints, 0, numpoints - 2, NULL, polygonelements, 0, 0); + R_Mesh_Draw(0, numpoints, 0, numpoints - 2, polygonelement3i, polygonelement3s, 0, 0); } // LordHavoc: this is just a nice debugging tool, very slow