[Mesa-dev] [PATCH 13/15] mesa: remove CHAN_TYPE cruft from debug.c

Brian Paul brian.e.paul at gmail.com
Sat Sep 17 15:41:26 PDT 2011


From: Brian Paul <brianp at vmware.com>

---
 src/mesa/main/debug.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 2bb3745..c296438 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -567,9 +567,6 @@ _mesa_dump_image(const char *filename, const void *image, GLuint w, GLuint h,
 void
 _mesa_print_texture(struct gl_context *ctx, struct gl_texture_image *img)
 {
-#if CHAN_TYPE != GL_UNSIGNED_BYTE
-   _mesa_problem(NULL, "PrintTexture not supported");
-#else
    const GLint slice = 0;
    GLint srcRowStride;
    GLuint i, j, c;
-- 
1.7.3.4



More information about the mesa-dev mailing list