diff options
author | Daniel Borca <dborca@users.sourceforge.net> | 2006-04-01 13:26:31 +0000 |
---|---|---|
committer | Daniel Borca <dborca@users.sourceforge.net> | 2006-04-01 13:26:31 +0000 |
commit | b100484145d3518e4896d756b1ceccf61382c569 (patch) | |
tree | fcfa52b303f20ec297baf560806e7d8bb2a46d49 /src | |
parent | 278736ff6f0659163e69392cf9e96006138746ca (diff) |
Initialize renderbuffer size.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |