]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix warning
authorsajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Nov 2007 07:19:18 +0000 (07:19 +0000)
committersajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Nov 2007 07:19:18 +0000 (07:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7730 d7cf8633-e32d-0410-b094-e92efae38249

gl_textures.c

index f62d0243580e9f6efd40808fc4fd03d7aa2c09b4..ab6b92478f7e2d2620ce044a00c18955fdb28260 100644 (file)
@@ -141,7 +141,7 @@ static gltexturepool_t *gltexturepoolchain = NULL;
 
 static unsigned char *resizebuffer = NULL, *colorconvertbuffer;
 static int resizebuffersize = 0;
-static unsigned char *texturebuffer;
+static const unsigned char *texturebuffer;
 static int texturebuffersize = 0;
 
 static textypeinfo_t *R_GetTexTypeInfo(textype_t textype, int flags)