]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_textures.c
patch from div0 that enables printf format warnings in gcc
[xonotic/darkplaces.git] / gl_textures.c
index c3e200fb72e15f2b43f661e4b0dac446efe430ac..8ac8d6cad73cc6a8521ddf252a9621d287591ce4 100644 (file)
@@ -856,7 +856,7 @@ static rtexture_t *R_SetupTexture(rtexturepool_t *rtexturepool, const char *iden
        size = width * height * depth * sides * texinfo->inputbytesperpixel;
        if (size < 1)
        {
-               Con_Printf ("R_LoadTexture: bogus texture size (%dx%dx%dx%dbppx%dsides = %d bytes)\n", width, height, depth, texinfo->inputbytesperpixel * 8, sides);
+               Con_Printf ("R_LoadTexture: bogus texture size (%dx%dx%dx%dbppx%dsides = %d bytes)\n", width, height, depth, texinfo->inputbytesperpixel * 8, sides, size);
                return NULL;
        }