summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/texmem.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-08 18:47:36 +0000
committerBrian Paul <[email protected]>2005-09-08 18:47:36 +0000
commitd9b9b4b3beafa824914ca460754bf0a9d7ee80b6 (patch)
tree2b0cf8ee4c4d7534fea07905e4b38fd6fb97d1fb /src/mesa/drivers/dri/common/texmem.c
parentb5cbaf945dd5213d5faf7bb7e4d68d0d25a25b55 (diff)
Fix the comment for the 'bound' field: it's a bitmask, not an index.
In driTexturesGone(), set bound = 0, not 99.
Diffstat (limited to 'src/mesa/drivers/dri/common/texmem.c')
-rw-r--r--src/mesa/drivers/dri/common/texmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/texmem.c b/src/mesa/drivers/dri/common/texmem.c
index acefce0f597..5bc27e44936 100644
--- a/src/mesa/drivers/dri/common/texmem.c
+++ b/src/mesa/drivers/dri/common/texmem.c
@@ -414,7 +414,7 @@ static void driTexturesGone( driTexHeap * heap, int offset, int size,
}
t->heap = heap;
if (in_use)
- t->bound = 99;
+ t->bound = 0; /* bound to no tex units */
insert_at_head( & heap->texture_objects, t );
}
}