summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-03-02 03:51:04 +0000
committerBrian Paul <[email protected]>2006-03-02 03:51:04 +0000
commit14d3ab96629907622bd25a103b3dadcfccb40b4c (patch)
treedc0f6c4e0ea8a396f126e087ac2bd85cda8164a6 /src/mesa/main
parent904ab0c22cc5dbfb09ff3a0e4f1b716760890bd7 (diff)
improved error msg
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/renderbuffer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c
index 2031662c216..72a1220551a 100644
--- a/src/mesa/main/renderbuffer.c
+++ b/src/mesa/main/renderbuffer.c
@@ -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;
}