summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2006-08-02 14:22:06 +0000
committerMichal Krol <[email protected]>2006-08-02 14:22:06 +0000
commit60ba2d88b31b4858c019b41c982ca83ab5880dde (patch)
treed76ebe8203e9ba2a9852c0787cb2421acd0a8ddf /src/mesa
parent365582dd6f632aafbc1c817aa57926d679bb2efc (diff)
Fix mmFindBlock function.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mm.c2
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;
}