mesa: remove _mesa_compressed_texture_size()
[mesa.git] / src / mesa / main / debug.c
index 8492c8561d422fec5d1c428b415737019559ec83..e55c2f02c91ee4485b2e0adea2420834c1f6e6e3 100644 (file)
@@ -35,7 +35,6 @@
 #include "readpix.h"
 #include "texgetimage.h"
 #include "texobj.h"
-#include "texformat.h"
 
 
 /**
@@ -315,7 +314,7 @@ dump_texture_cb(GLuint id, void *data, void *userData)
       if (texImg) {
          _mesa_printf("  Image %u: %d x %d x %d, format %u at %p\n", i,
                       texImg->Width, texImg->Height, texImg->Depth,
-                      texImg->TexFormat->MesaFormat, texImg->Data);
+                      texImg->TexFormat, texImg->Data);
          if (DumpImages && !written) {
             GLuint face = 0;
             write_texture_image(texObj, face, i);