diff options
author | Brian <[email protected]> | 2008-03-20 15:02:32 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-20 15:04:08 -0600 |
commit | 3a4ece89a799a7c699be229a6d965d4820af0196 (patch) | |
tree | ff02dd0c2b57aa075e98143dedb53d09da9ab389 | |
parent | f3d23aa787bb08bad7638540b128fa0e65110246 (diff) |
gallium: assign framebuffer width, height
-rw-r--r-- | src/mesa/state_tracker/st_atom_framebuffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_framebuffer.c b/src/mesa/state_tracker/st_atom_framebuffer.c index 43259c3ecb1..02573af8f0a 100644 --- a/src/mesa/state_tracker/st_atom_framebuffer.c +++ b/src/mesa/state_tracker/st_atom_framebuffer.c @@ -52,6 +52,9 @@ update_framebuffer_state( struct st_context *st ) memset(framebuffer, 0, sizeof(*framebuffer)); + framebuffer->width = fb->Width; + framebuffer->height = fb->Height; + /* Examine Mesa's ctx->DrawBuffer->_ColorDrawBuffers state * to determine which surfaces to draw to */ |