diff options
author | Kristian Høgsberg <[email protected]> | 2008-02-26 17:57:41 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2008-02-26 18:01:13 -0500 |
commit | 20b8bff49cba3e8246e29004c5ff38f231d589ff (patch) | |
tree | 5a09f5f8d4e4fbae726eabd97b03ea4ebd695451 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | 451bd1941e9791882f7931c8613643f152871e79 (diff) |
i965: Setup framebuffer texture in meta_draw_region.
With DRI2 we there is no screen region until a drawable is bound to
the context. Set up the framebuffer texture in meta_draw_region instead
which should also handle the case where the draw region changes as a
result of resizing a redirected window or resizing the screen.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index a6c60aa4593..49e739b0ad8 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -653,7 +653,8 @@ void brw_debug_batch(struct intel_context *intel); * brw_tex.c */ void brwUpdateTextureState( struct intel_context *intel ); -void brw_FrameBufferTexInit( struct brw_context *brw ); +void brw_FrameBufferTexInit( struct brw_context *brw, + struct intel_region *region ); void brw_FrameBufferTexDestroy( struct brw_context *brw ); void brw_validate_textures( struct brw_context *brw ); |