]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - clvm_cmds.c
implemented r_glsl_usegeneric cvar, this causes generic GLSL shaders to
[xonotic/darkplaces.git] / clvm_cmds.c
index a888e45eaceb2700c39da73cbe88d94bb143b38c..cbc95c32c3a609211bb26d5b167bdab374ca8d42 100644 (file)
@@ -2346,6 +2346,7 @@ static void VM_DrawPolygonCallback (const entity_render_t *ent, const rtlight_t
        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);
+       R_SetupGenericShader(true);
        for (surfacelistindex = 0;surfacelistindex < numsurfaces;)
        {
                int numtriangles = 0;