summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-06-23 17:08:58 -0600
committerBrian Paul <[email protected]>2011-06-23 17:09:13 -0600
commitca7510bbf9bdff35f813f970e3120a9c7f728cca (patch)
treeac23710f3661a516050a82ccb7f82c7fb413e32c /src
parent9c5d15e929f47f517f90977f5420e11dfbd3db67 (diff)
mesa: fix incorrect error string
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/teximage.c2
1 files changed, 1 insertions, 1 deletions
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;
}