projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1808c
)
llvmpipe: set block count/used values back to zero on reset
author
Keith Whitwell
<keithw@vmware.com>
Fri, 9 Oct 2009 14:29:10 +0000
(15:29 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 9 Oct 2009 14:29:10 +0000
(15:29 +0100)
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 793b71e0953ecc9bb4a522ebcdaa5bb6c065b177..03c54798dca03cf5c5521e62fbda094bac96d205 100644
(file)
--- 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: