improved error msg
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Mar 2006 03:51:04 +0000 (03:51 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Mar 2006 03:51:04 +0000 (03:51 +0000)
src/mesa/main/renderbuffer.c

index 2031662c2161830b5b19f3df78652d2ddd96dac0..72a1220551add8c7fd968e742faeedf416c27426 100644 (file)
@@ -1154,7 +1154,9 @@ soft_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb,
    if (rb->Data == NULL) {
       rb->Width = 0;
       rb->Height = 0;
-      _mesa_error(ctx, GL_OUT_OF_MEMORY, "software renderbuffer allocation");
+      _mesa_error(ctx, GL_OUT_OF_MEMORY,
+                  "software renderbuffer allocation (%d x %d x %d)",
+                  width, height, pixelSize);
       return GL_FALSE;
    }