print internalFormat value in r200ChooseTextureFormat() error message
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 25 Aug 2004 17:36:34 +0000 (17:36 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 25 Aug 2004 17:36:34 +0000 (17:36 +0000)
src/mesa/drivers/dri/r200/r200_tex.c

index 20febb508f16e7164eafa408e7f289594b6f2192..346c27cee0a66025d05f9cf68e9cffe7ac85aa14 100644 (file)
@@ -421,7 +421,9 @@ r200ChooseTextureFormat( GLcontext *ctx, GLint internalFormat,
          return &_mesa_texformat_ycbcr_rev;
 
    default:
-      _mesa_problem(ctx, "unexpected texture format in %s", __FUNCTION__);
+      _mesa_problem(ctx,
+         "unexpected internalFormat 0x%x in r200ChooseTextureFormat",
+         (int) internalFormat);
       return NULL;
    }