From: Brian Paul Date: Wed, 25 Aug 2004 17:36:34 +0000 (+0000) Subject: print internalFormat value in r200ChooseTextureFormat() error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0bdae8a28c3d20fc679154b9d998e1e6efba6ea;p=mesa.git print internalFormat value in r200ChooseTextureFormat() error message --- diff --git a/src/mesa/drivers/dri/r200/r200_tex.c b/src/mesa/drivers/dri/r200/r200_tex.c index 20febb508f1..346c27cee0a 100644 --- a/src/mesa/drivers/dri/r200/r200_tex.c +++ b/src/mesa/drivers/dri/r200/r200_tex.c @@ -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; }