projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d916936
)
llvmpipe: shortcircuit some calls to set_scene_state
author
Keith Whitwell
<keithw@vmware.com>
Tue, 30 Nov 2010 12:00:25 +0000
(12:00 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Tue, 30 Nov 2010 12:01:29 +0000
(12:01 +0000)
src/gallium/drivers/llvmpipe/lp_setup.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup.c
b/src/gallium/drivers/llvmpipe/lp_setup.c
index 07acdb282159f75e75101c0fb0982aa5273e6984..a173e71aba7a88237bcded433b8be5a035decc8d 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/
src/gallium/drivers/llvmpipe/lp_setup.c
@@
-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;
}