From b100484145d3518e4896d756b1ceccf61382c569 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Sat, 1 Apr 2006 13:26:31 +0000 Subject: [PATCH] Initialize renderbuffer size. --- src/mesa/drivers/osmesa/osmesa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 2ba3b81706c..2d698852772 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -692,6 +692,9 @@ osmesa_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb, _mesa_problem(ctx, "bad pixel format in osmesa renderbuffer_storage"); } + rb->Width = width; + rb->Height = height; + return GL_TRUE; } -- 2.30.2