]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rsurf.c
expose R_SetView (aka setproperty) as builtin 309 as well (FTEQW's
[xonotic/darkplaces.git] / gl_rsurf.c
index 967edc6f56e8a1778c593ebd3c4fab365d3835e3..ed5534ae5abc6567b330527d5e6c28c2f3782a63 100644 (file)
@@ -362,7 +362,7 @@ static void R_DrawPortal_Callback(const entity_render_t *ent, const rtlight_t *r
        for (i = 0, v = vertex3f;i < numpoints;i++, v += 3)
                VectorCopy(portal->points[i].position, v);
        R_Mesh_PrepareVertices_Generic_Arrays(numpoints, vertex3f, NULL, NULL);
-       R_SetupShader_Generic(NULL, NULL, GL_MODULATE, 1, false);
+       R_SetupShader_Generic(NULL, NULL, GL_MODULATE, 1, false, false);
        R_Mesh_Draw(0, numpoints, 0, numpoints - 2, polygonelement3i, NULL, 0, polygonelement3s, NULL, 0);
 }