diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-08-25 17:36:34 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-08-25 17:36:34 +0000 |
commit | d0bdae8a28c3d20fc679154b9d998e1e6efba6ea (patch) | |
tree | 15fbe3c103abd7d341c893b7fae963bb0b9b6905 /src/mesa/drivers | |
parent | a6c423d95663cfd8601cf84e10e8e1b12fa6ef15 (diff) |
print internalFormat value in r200ChooseTextureFormat() error message
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_tex.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_tex.c b/src/mesa/drivers/dri/r200/r200_tex.c index 20febb508f..346c27cee0 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; } |