projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b791944
)
llvmpipe: Fix statement before declaration.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 6 Dec 2012 17:23:11 +0000
(17:23 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 6 Dec 2012 17:23:11 +0000
(17:23 +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 46af2481d59be98cda647f066c33e89e6df5eda4..26fa46de80316ab149f8a2138c046d210185dde6 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/
src/gallium/drivers/llvmpipe/lp_setup.c
@@
-66,9
+66,10
@@
static void
lp_setup_get_empty_scene(struct lp_setup_context *setup)
{
struct llvmpipe_context *lp = llvmpipe_context(setup->pipe);
- assert(setup->scene == NULL);
boolean discard = lp->rasterizer ? lp->rasterizer->rasterizer_discard : FALSE;
+ assert(setup->scene == NULL);
+
setup->scene_idx++;
setup->scene_idx %= Elements(setup->scenes);