From: sajt Date: Wed, 28 Nov 2007 07:19:18 +0000 (+0000) Subject: fix warning X-Git-Tag: xonotic-v0.1.0preview~2754 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=02f3a94096e3fd9ae5859a6d0fece047e8130b34;p=xonotic%2Fdarkplaces.git fix warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7730 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_textures.c b/gl_textures.c index f62d0243..ab6b9247 100644 --- a/gl_textures.c +++ b/gl_textures.c @@ -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)