From: Brian Date: Thu, 20 Mar 2008 21:02:32 +0000 (-0600) Subject: gallium: assign framebuffer width, height X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a4ece89a799a7c699be229a6d965d4820af0196;p=mesa.git gallium: assign framebuffer width, height --- 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 */