From b100484145d3518e4896d756b1ceccf61382c569 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Sat, 1 Apr 2006 13:26:31 +0000 Subject: Initialize renderbuffer size. --- src/mesa/drivers/osmesa/osmesa.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 2ba3b81706..2d69885277 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; } -- cgit v1.2.3