remove support for GL_EXT_compiled_vertex_array extension
[xonotic/darkplaces.git] / gl_rsurf.c
index 96f2bc8..9478d23 100644 (file)
@@ -1132,7 +1132,6 @@ void R_Q1BSP_DrawShadowMap(int side, entity_render_t *ent, const vec3_t relative
                GL_CullFace(rsurface.texture->currentmaterialflags & MATERIALFLAG_NOCULLFACE ? GL_NONE : r_refdef.view.cullface_back);
                RSurf_PrepareVerticesForBatch(false, false, batchsize, batch);
                RSurf_DrawBatch_Simple(batchsize, batch);
-               GL_LockArrays(0, 0);
        }
 }