projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e858f
)
mesa: remove CHAN_TYPE cruft from debug.c
author
Brian Paul
<brianp@vmware.com>
Sat, 17 Sep 2011 22:22:47 +0000
(16:22 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 21 Sep 2011 02:17:41 +0000
(20:17 -0600)
src/mesa/main/debug.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/debug.c
b/src/mesa/main/debug.c
index
2bb3745
..
0a393e5
100644
(file)
--- 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
}