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 40398a8afc34a9fe703b252ef790303b9b2c12f7..6f53686e7ffba658cfd4253d8f2ea09ff7bcad29 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;
    }