s/GLchan/GLubyte/ in debug code

This commit is contained in:
Brian Paul 2006-11-02 22:55:59 +00:00
parent 959571f835
commit 71f71c2c8a
1 changed files with 3 additions and 3 deletions

View File

@ -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");