diff options
author | Brian Paul <[email protected]> | 2010-01-13 15:01:35 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-13 15:10:57 -0700 |
commit | db58192cfb63cbb7b1d84e7ae7429799ce888164 (patch) | |
tree | a6b558e18b9c144210847d6f0a1dd570c4ad21a7 /src/gallium | |
parent | d59fe448967addb3025d7df90888ff950e03a343 (diff) |
llvmpipe: re-get scene pointer after flushing
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 8193b107d9d..4f77d04ca53 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -249,6 +249,9 @@ lp_setup_bind_framebuffer( struct setup_context *setup, set_scene_state( setup, SETUP_FLUSHED ); + /* re-get scene pointer, may have a new scene after flushing */ + scene = lp_setup_get_current_scene(setup); + util_copy_framebuffer_state(&setup->fb, fb); lp_scene_set_framebuffer_size(scene, setup->fb.width, setup->fb.height); |