]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a const warning
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Mar 2006 10:50:37 +0000 (10:50 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Mar 2006 10:50:37 +0000 (10:50 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6062 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 92dc22cbd248eda5ca82f388668f04963c229c4e..4ce812c8b16501e50eaeac45a5ea58468d7553e7 100644 (file)
@@ -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++;