]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rsurf.c
adding my own IPv6 master server: dpmaster.div0.qc.to - default master server 4 ...
[xonotic/darkplaces.git] / gl_rsurf.c
index bd084c162aba448d2def27aadf258cc24435e1a4..44e4554489f4d1ffd1941253f437d02211f8a921 100644 (file)
@@ -1199,10 +1199,8 @@ void R_Q1BSP_DrawLight(entity_render_t *ent, int numsurfaces, const int *surface
        const msurface_t *surface;
        int i, k, kend, l, endsurface, batchnumsurfaces, texturenumsurfaces;
        const msurface_t **texturesurfacelist;
-       const int *element3i;
        texture_t *tex;
        CHECKGLERROR
-       element3i = rsurface.modelelement3i;
        // this is a double loop because non-visible surface skipping has to be
        // fast, and even if this is not the world model (and hence no visibility
        // checking) the input surface list and batch buffer are different formats