diff options
author | Keith Whitwell <[email protected]> | 2009-10-09 15:29:10 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-10-09 15:29:10 +0100 |
commit | f406ffaea62005157f56ea17709291326c4dca8a (patch) | |
tree | c67d01af36349da19659e771200ea28bd0fc10fe | |
parent | da1808ccc9a53fdd5aa69efa800ece0d3d075b07 (diff) |
llvmpipe: set block count/used values back to zero on reset
-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 793b71e0953..03c54798dca 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -115,6 +115,7 @@ static void reset_context( struct setup_context *setup ) } list->head = list->tail; + list->head->count = 0; } } @@ -130,6 +131,7 @@ static void reset_context( struct setup_context *setup ) } list->head = list->tail; + list->head->used = 0; } /* Reset some state: |