[iortcw] 106/152: All: Rend2: Make R_FreeSurfaceGridMeshData() static
Simon McVittie
smcv at debian.org
Fri Sep 8 10:40:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to annotated tag 1.5a
in repository iortcw.
commit 82933f3432e0e4b91ec4106d3105faff8d1542f3
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Sun Sep 11 17:07:16 2016 -0400
All: Rend2: Make R_FreeSurfaceGridMeshData() static
---
MP/code/rend2/tr_curve.c | 2 +-
MP/code/rend2/tr_local.h | 1 -
SP/code/rend2/tr_curve.c | 2 +-
SP/code/rend2/tr_local.h | 1 -
4 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/MP/code/rend2/tr_curve.c b/MP/code/rend2/tr_curve.c
index bd7723d..7f4a04f 100644
--- a/MP/code/rend2/tr_curve.c
+++ b/MP/code/rend2/tr_curve.c
@@ -439,7 +439,7 @@ void R_CreateSurfaceGridMesh(srfBspSurface_t *grid, int width, int height,
R_FreeSurfaceGridMeshData
=================
*/
-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/MP/code/rend2/tr_local.h b/MP/code/rend2/tr_local.h
index 1ed5753..b55edd7 100644
--- a/MP/code/rend2/tr_local.h
+++ b/MP/code/rend2/tr_local.h
@@ -2390,7 +2390,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_FreeSurfaceGridMeshData( srfBspSurface_t *grid );
/*
============================================================
diff --git a/SP/code/rend2/tr_curve.c b/SP/code/rend2/tr_curve.c
index c68df99..766f6b1 100644
--- a/SP/code/rend2/tr_curve.c
+++ b/SP/code/rend2/tr_curve.c
@@ -439,7 +439,7 @@ void R_CreateSurfaceGridMesh(srfBspSurface_t *grid, int width, int height,
R_FreeSurfaceGridMeshData
=================
*/
-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/SP/code/rend2/tr_local.h b/SP/code/rend2/tr_local.h
index 3d935c3..2bd9754 100644
--- a/SP/code/rend2/tr_local.h
+++ b/SP/code/rend2/tr_local.h
@@ -2420,7 +2420,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_FreeSurfaceGridMeshData( srfBspSurface_t *grid );
/*
============================================================
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list