projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
365582d
)
Fix mmFindBlock function.
author
Michal Krol
<mjkrol@gmail.org>
Wed, 2 Aug 2006 14:22:06 +0000
(14:22 +0000)
committer
Michal Krol
<mjkrol@gmail.org>
Wed, 2 Aug 2006 14:22:06 +0000
(14:22 +0000)
src/mesa/main/mm.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/mm.c
b/src/mesa/main/mm.c
index e5f445889f9a680ad36471a5996e25c18a1ec997..d080d6db1b81ce3f5bcdc71b1ce0a0e0743bd793 100644
(file)
--- a/
src/mesa/main/mm.c
+++ b/
src/mesa/main/mm.c
@@
-193,7
+193,7
@@
mmFindBlock(struct mem_block *heap, int start)
{
struct mem_block *p;
- for (p = heap->next
_free; p != heap; p = p->next_free
) {
+ for (p = heap->next
; p != heap; p = p->next
) {
if (p->ofs == start)
return p;
}