]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rsurf.c
fix a typo in the watchpoints code that warns
[xonotic/darkplaces.git] / gl_rsurf.c
index 1075039c1de6f0cd07ad1e4b7450c5bdfdc52838..947f4146890d8ae5daf80642c759f723407e0d27 100644 (file)
@@ -1423,7 +1423,7 @@ void R_Q1BSP_DrawShadowMap(int side, entity_render_t *ent, const vec3_t relative
                }
                --modelsurfacelistindex;
                GL_CullFace(rsurface.texture->currentmaterialflags & MATERIALFLAG_NOCULLFACE ? GL_NONE : r_refdef.view.cullface_back);
-               RSurf_PrepareVerticesForBatch(BATCHNEED_ARRAY_VERTEX, batchnumsurfaces, batchsurfacelist);
+               RSurf_PrepareVerticesForBatch(BATCHNEED_ARRAY_VERTEX | BATCHNEED_ALLOWMULTIDRAW, batchnumsurfaces, batchsurfacelist);
                if (rsurface.batchvertex3fbuffer)
                        R_Mesh_PrepareVertices_Vertex3f(rsurface.batchnumvertices, rsurface.batchvertex3f, rsurface.batchvertex3fbuffer);
                else