From: Brian Paul Date: Thu, 23 Jun 2011 23:08:58 +0000 (-0600) Subject: mesa: fix incorrect error string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca7510bbf9bdff35f813f970e3120a9c7f728cca;p=mesa.git mesa: fix incorrect error string --- 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; }