print internalFormat value in r200ChooseTextureFormat() error message

This commit is contained in:
Brian Paul 2004-08-25 17:36:34 +00:00
parent a6c423d956
commit d0bdae8a28

View 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;
}