From de8337c6ed523a1f4d265c0758ab5ce7f0bc1fec Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 4 Mar 2006 10:50:37 +0000 Subject: [PATCH] fix a const warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6062 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index 92dc22cb..4ce812c8 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -1597,7 +1597,7 @@ void R_Mesh_AddBrushMeshFromPlanes(rmesh_t *mesh, int numplanes, mplane_t *plane } } -void R_Texture_AddLayer(texture_t *t, qboolean depthmask, int blendfunc1, int blendfunc2, texturelayertype_t type, rtexture_t *texture, matrix4x4_t *matrix, float r, float g, float b, float a) +static void R_Texture_AddLayer(texture_t *t, qboolean depthmask, int blendfunc1, int blendfunc2, texturelayertype_t type, rtexture_t *texture, const matrix4x4_t *matrix, float r, float g, float b, float a) { texturelayer_t *layer; layer = t->currentlayers + t->currentnumlayers++; -- 2.39.2