summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-11-02 22:55:59 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-11-02 22:55:59 +0000
commit71f71c2c8ab0b8af95cddc99df5dd01e4ca6af68 (patch)
treef653dcb66c59c7f2c6ab2850c053bb8c44e52efb /src/mesa/main
parent959571f83595dcc8026bc6c7eb52bb9ee50cc6d5 (diff)
s/GLchan/GLubyte/ in debug code
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/teximage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 662f697147..543d6efc98 100644
--- 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 GLchan *data = (const GLchan *) img->Data;
+ const GLubyte *data = (const GLubyte *) img->Data;
if (!data) {
_mesa_printf("No texture data\n");