projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32a9b27
)
llvmpipe: ensure all bins are reset avoids memory corruption.
author
Alan Hourihane
<alanh@vmware.com>
Tue, 6 Jul 2010 10:42:18 +0000
(11:42 +0100)
committer
Alan Hourihane
<alanh@vmware.com>
Tue, 6 Jul 2010 10:42:18 +0000
(11:42 +0100)
src/gallium/drivers/llvmpipe/lp_scene.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_scene.c
b/src/gallium/drivers/llvmpipe/lp_scene.c
index 845c175cf2ecc0780e508339d4b3c2b93c40afe8..e8d36bbdc5038305b794da9c77133ef7228d933e 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_scene.c
+++ b/
src/gallium/drivers/llvmpipe/lp_scene.c
@@
-162,8
+162,8
@@
lp_scene_reset(struct lp_scene *scene )
/* Free all but last binner command lists:
*/
- for (i = 0; i <
scene->tiles_x
; i++) {
- for (j = 0; j <
scene->tiles_y
; j++) {
+ for (i = 0; i <
TILES_X
; i++) {
+ for (j = 0; j <
TILES_Y
; j++) {
lp_scene_bin_reset(scene, i, j);
}
}