From f431a3fb4dc1bf860203d79e54657e3a62bc50df Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 13 Jul 2001 20:07:37 +0000 Subject: assorted changes for supporting GLfloat color channels (not done) --- src/mesa/main/teximage.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/teximage.c') diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index b13b4395f3..ffddeffbab 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1,4 +1,4 @@ -/* $Id: teximage.c,v 1.99 2001/07/13 15:44:21 brianp Exp $ */ +/* $Id: teximage.c,v 1.100 2001/07/13 20:07:37 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -58,6 +58,9 @@ #ifdef DEBUG static void PrintTexture(const struct gl_texture_image *img) { +#if CHAN_TYPE == GL_FLOAT + _mesa_problem(NULL, "PrintTexture doesn't support float channels"); +#else GLuint i, j, c; const GLchan *data = (const GLchan *) img->Data; @@ -101,6 +104,7 @@ static void PrintTexture(const struct gl_texture_image *img) } printf("\n"); } +#endif } #endif -- cgit v1.2.3