From ca7510bbf9bdff35f813f970e3120a9c7f728cca Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 23 Jun 2011 17:08:58 -0600 Subject: [PATCH] mesa: fix incorrect error string --- src/mesa/main/teximage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 40398a8afc3..6f53686e7ff 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -3274,7 +3274,7 @@ compressedteximage(struct gl_context *ctx, GLuint dims, border, imageSize, &reason); if (error) { - _mesa_error(ctx, error, "glTexImage2D(%s)", reason); + _mesa_error(ctx, error, "glCompressedTexImage%uD(%s)", dims, reason); return; } -- 2.30.2