diff options
author | Michal Krol <[email protected]> | 2006-08-02 14:22:06 +0000 |
---|---|---|
committer | Michal Krol <[email protected]> | 2006-08-02 14:22:06 +0000 |
commit | 60ba2d88b31b4858c019b41c982ca83ab5880dde (patch) | |
tree | d76ebe8203e9ba2a9852c0787cb2421acd0a8ddf /src/mesa | |
parent | 365582dd6f632aafbc1c817aa57926d679bb2efc (diff) |
Fix mmFindBlock function.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mm.c b/src/mesa/main/mm.c index e5f445889f9..d080d6db1b8 100644 --- 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; } |