projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
959571f
)
s/GLchan/GLubyte/ in debug code
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 22:55:59 +0000
(22:55 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 22:55:59 +0000
(22:55 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 662f697147ded95db6b8a22a239104be13f0fc5c..543d6efc984107d336858d2a174f1dbce45e24f8 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-73,11
+73,11
@@
_mesa_free_texmemory(void *m)
#if 0
static void PrintTexture(GLcontext *ctx, const struct gl_texture_image *img)
{
-#if CHAN_TYPE
== GL_FLOAT
- _mesa_problem(NULL, "PrintTexture
doesn't support float channels
");
+#if CHAN_TYPE
!= GL_UNSIGNED_BYTE
+ _mesa_problem(NULL, "PrintTexture
not supported
");
#else
GLuint i, j, c;
- const GL
chan *data = (const GLchan
*) img->Data;
+ const GL
ubyte *data = (const GLubyte
*) img->Data;
if (!data) {
_mesa_printf("No texture data\n");