diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/debug.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c index 2bb37452d4f..0a393e5fa29 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 } |