improved error msg
This commit is contained in:
parent
904ab0c22c
commit
14d3ab9662
|
@ -1154,7 +1154,9 @@ soft_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb,
|
||||||
if (rb->Data == NULL) {
|
if (rb->Data == NULL) {
|
||||||
rb->Width = 0;
|
rb->Width = 0;
|
||||||
rb->Height = 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;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue