summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/r200/r200_tex.c4
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;
}