From d9b9b4b3beafa824914ca460754bf0a9d7ee80b6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 8 Sep 2005 18:47:36 +0000 Subject: Fix the comment for the 'bound' field: it's a bitmask, not an index. In driTexturesGone(), set bound = 0, not 99. --- src/mesa/drivers/dri/common/texmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/common/texmem.c') diff --git a/src/mesa/drivers/dri/common/texmem.c b/src/mesa/drivers/dri/common/texmem.c index acefce0f59..5bc27e4493 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 ); } } -- cgit v1.2.3