summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/debug.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-09-17 16:22:47 -0600
committerBrian Paul <brianp@vmware.com>2011-09-20 20:17:41 -0600
commitef275f907c94be776bb5eed14ae97bfb6b537173 (patch)
tree0ffcbdc604dd7bef7d2dfceab6746e64d60494f0 /src/mesa/main/debug.c
parent59e858f462d22082c2b5e2085c8fa3cc95f23fdb (diff)
downloadexternal_mesa3d-ef275f907c94be776bb5eed14ae97bfb6b537173.zip
external_mesa3d-ef275f907c94be776bb5eed14ae97bfb6b537173.tar.gz
external_mesa3d-ef275f907c94be776bb5eed14ae97bfb6b537173.tar.bz2
mesa: remove CHAN_TYPE cruft from debug.c
Diffstat (limited to 'src/mesa/main/debug.c')
-rw-r--r--src/mesa/main/debug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 2bb3745..0a393e5 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;
@@ -626,5 +623,4 @@ _mesa_print_texture(struct gl_context *ctx, struct gl_texture_image *img)
}
ctx->Driver.UnmapTextureImage(ctx, img, slice);
-#endif
}