diff options
author | Brian Paul <[email protected]> | 2010-02-10 18:10:16 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-23 18:57:18 -0700 |
commit | 049b4c340575ebc788d9a009829980fafa587eff (patch) | |
tree | d4714116b743e3580ec824369e4f8c7f062c6058 /src/gallium/drivers/llvmpipe/lp_setup.c | |
parent | c8aaa24f2da4e4da3d726e0a58459c7d9cb64b93 (diff) |
llvmpipe: added assertions to verify that scene is empty
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index cb873667a20..3aec9de3732 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -64,6 +64,8 @@ lp_setup_get_current_scene(struct setup_context *setup) */ setup->scene = lp_scene_dequeue(setup->empty_scenes, TRUE); + assert(lp_scene_is_empty(setup->scene)); + if(0)lp_scene_reset( setup->scene ); /* XXX temporary? */ lp_scene_set_framebuffer_size(setup->scene, |