mesa: fix incorrect error string
authorBrian Paul <brianp@vmware.com>
Thu, 23 Jun 2011 23:08:58 +0000 (17:08 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 23 Jun 2011 23:09:13 +0000 (17:09 -0600)
src/mesa/main/teximage.c

index 40398a8..6f53686 100644 (file)
@@ -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;
    }