improved error msg

This commit is contained in:
Brian Paul
2006-03-02 03:51:04 +00:00
parent 904ab0c22c
commit 14d3ab9662

View 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;
}