summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2006-04-01 13:26:31 +0000
committerDaniel Borca <[email protected]>2006-04-01 13:26:31 +0000
commitb100484145d3518e4896d756b1ceccf61382c569 (patch)
treefcfa52b303f20ec297baf560806e7d8bb2a46d49 /src
parent278736ff6f0659163e69392cf9e96006138746ca (diff)
Initialize renderbuffer size.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c3
1 files changed, 3 insertions, 0 deletions
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;
}