OpenGL2: Make R_FreeSurfaceGridMeshData() static.

This commit is contained in:
SmileTheory 2016-09-07 14:59:19 -07:00
parent f9e5712311
commit 927c9cc23c
2 changed files with 1 additions and 2 deletions

View file

@ -432,7 +432,7 @@ void R_CreateSurfaceGridMesh(srfBspSurface_t *grid, int width, int height,
R_FreeSurfaceGridMesh R_FreeSurfaceGridMesh
================= =================
*/ */
void R_FreeSurfaceGridMeshData( srfBspSurface_t *grid ) { static void R_FreeSurfaceGridMeshData( srfBspSurface_t *grid ) {
ri.Free(grid->widthLodError); ri.Free(grid->widthLodError);
ri.Free(grid->heightLodError); ri.Free(grid->heightLodError);
ri.Free(grid->indexes); ri.Free(grid->indexes);

View file

@ -2153,7 +2153,6 @@ void R_SubdividePatchToGrid( srfBspSurface_t *grid, int width, int height,
srfVert_t points[MAX_PATCH_SIZE*MAX_PATCH_SIZE] ); srfVert_t points[MAX_PATCH_SIZE*MAX_PATCH_SIZE] );
void R_GridInsertColumn( srfBspSurface_t *grid, int column, int row, vec3_t point, float loderror ); void R_GridInsertColumn( srfBspSurface_t *grid, int column, int row, vec3_t point, float loderror );
void R_GridInsertRow( srfBspSurface_t *grid, int row, int column, vec3_t point, float loderror ); void R_GridInsertRow( srfBspSurface_t *grid, int row, int column, vec3_t point, float loderror );
void R_FreeSurfaceGridMesh( srfBspSurface_t *grid );
/* /*
============================================================ ============================================================