remove unused rsurface.modelneighbor3i
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 24 May 2007 01:49:26 +0000 (01:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 24 May 2007 01:49:26 +0000 (01:49 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7360 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c
render.h

index 478613b..d8470c0 100644 (file)
@@ -3415,7 +3415,6 @@ void RSurf_ActiveWorldEntity(void)
        rsurface.modeltexcoordlightmap2f_bufferoffset = model->surfmesh.vbooffset_texcoordlightmap2f;
        rsurface.modelelement3i = model->surfmesh.data_element3i;
        rsurface.modelelement3i_bufferobject = model->surfmesh.ebo;
-       rsurface.modelneighbor3i = model->surfmesh.data_neighbor3i;
        rsurface.modellightmapoffsets = model->surfmesh.data_lightmapoffsets;
        rsurface.modelnum_vertices = model->surfmesh.num_vertices;
        rsurface.modelnum_triangles = model->surfmesh.num_triangles;
@@ -3517,7 +3516,6 @@ void RSurf_ActiveModelEntity(const entity_render_t *ent, qboolean wantnormals, q
        rsurface.modeltexcoordlightmap2f_bufferoffset = model->surfmesh.vbooffset_texcoordlightmap2f;
        rsurface.modelelement3i = model->surfmesh.data_element3i;
        rsurface.modelelement3i_bufferobject = model->surfmesh.ebo;
-       rsurface.modelneighbor3i = model->surfmesh.data_neighbor3i;
        rsurface.modellightmapoffsets = model->surfmesh.data_lightmapoffsets;
        rsurface.modelnum_vertices = model->surfmesh.num_vertices;
        rsurface.modelnum_triangles = model->surfmesh.num_triangles;
index 2a56bf6..be0cf47 100644 (file)
--- a/render.h
+++ b/render.h
@@ -255,7 +255,6 @@ typedef struct rsurfacestate_s
        size_t modeltexcoordlightmap2f_bufferoffset;
        int *modelelement3i;
        int modelelement3i_bufferobject;
-       int *modelneighbor3i;
        int *modellightmapoffsets;
        int modelnum_vertices;
        int modelnum_triangles;