[ioquake3] 35/59: OpenGL2: Make R_FreeSurfaceGridMeshData() static.
Simon McVittie
smcv at debian.org
Wed Sep 21 19:57:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository ioquake3.
commit 927c9cc23c52cc7b953a0ed8bf397d2a77eab4ec
Author: SmileTheory <SmileTheory at gmail.com>
Date: Wed Sep 7 14:59:19 2016 -0700
OpenGL2: Make R_FreeSurfaceGridMeshData() static.
---
code/renderergl2/tr_curve.c | 2 +-
code/renderergl2/tr_local.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/code/renderergl2/tr_curve.c b/code/renderergl2/tr_curve.c
index c693ae8..2f56b4b 100644
--- a/code/renderergl2/tr_curve.c
+++ b/code/renderergl2/tr_curve.c
@@ -432,7 +432,7 @@ void R_CreateSurfaceGridMesh(srfBspSurface_t *grid, int width, int height,
R_FreeSurfaceGridMesh
=================
*/
-void R_FreeSurfaceGridMeshData( srfBspSurface_t *grid ) {
+static void R_FreeSurfaceGridMeshData( srfBspSurface_t *grid ) {
ri.Free(grid->widthLodError);
ri.Free(grid->heightLodError);
ri.Free(grid->indexes);
diff --git a/code/renderergl2/tr_local.h b/code/renderergl2/tr_local.h
index 998d981..a2707cb 100644
--- a/code/renderergl2/tr_local.h
+++ b/code/renderergl2/tr_local.h
@@ -2153,7 +2153,6 @@ void R_SubdividePatchToGrid( srfBspSurface_t *grid, int width, int height,
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_GridInsertRow( srfBspSurface_t *grid, int row, int column, vec3_t point, float loderror );
-void R_FreeSurfaceGridMesh( srfBspSurface_t *grid );
/*
============================================================
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git
More information about the Pkg-games-commits
mailing list