]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_textures.c
expanded texture name buffer so that names don't get clipped in
[xonotic/darkplaces.git] / 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