From: Brian Paul Date: Thu, 2 Mar 2006 03:51:04 +0000 (+0000) Subject: improved error msg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14d3ab96629907622bd25a103b3dadcfccb40b4c;p=mesa.git improved error msg --- 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; }