mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
llvmpipe: shortcircuit some calls to set_scene_state
This commit is contained in:
parent
d9169364d4
commit
68a4f63247
1 changed files with 1 additions and 1 deletions
|
|
@ -927,7 +927,7 @@ lp_setup_update_state( struct lp_setup_context *setup,
|
|||
setup->setup.variant->key.size) == 0);
|
||||
}
|
||||
|
||||
if (update_scene) {
|
||||
if (update_scene && setup->state != SETUP_ACTIVE) {
|
||||
if (!set_scene_state( setup, SETUP_ACTIVE, __FUNCTION__ ))
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue