mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
gallium: assign framebuffer width, height
This commit is contained in:
parent
f3d23aa787
commit
3a4ece89a7
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue