]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
expanded texture name buffer so that names don't get clipped in
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Apr 2007 17:11:32 +0000 (17:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Apr 2007 17:11:32 +0000 (17:11 +0000)
r_texturestats output

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7182 d7cf8633-e32d-0410-b094-e92efae38249

gl_textures.c

index 8ac8d6cad73cc6a8521ddf252a9621d287591ce4..92a7117116a2f89916625f803c14b49718b6bd69 100644 (file)
@@ -69,7 +69,7 @@ typedef struct gltexture_s
        // pointer to next texture in texturepool chain
        struct gltexture_s *chain;
        // name of the texture (this might be removed someday), no duplicates
-       char identifier[32];
+       char identifier[MAX_QPATH + 32];
        // original data size in *inputtexels
        int inputwidth, inputheight, inputdepth;
        // copy of the original texture(s) supplied to the upload function, for