summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-03-19 20:46:08 +0000
committerJosé Fonseca <[email protected]>2008-03-19 20:46:08 +0000
commitdf5ba799fa929d4c739be9d11d3f1000afc265b2 (patch)
treec44a2d7a3ddc64f5053fe3a162c524fa49318d5a /src/gallium
parentb4f03d0c98674c83d06edfa767a7898eca5d4ef8 (diff)
gallium: Fix broken logic.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_handle_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_handle_table.c b/src/gallium/auxiliary/util/u_handle_table.c
index 0bfb9e1b4ae..8b0f7fca4b1 100644
--- a/src/gallium/auxiliary/util/u_handle_table.c
+++ b/src/gallium/auxiliary/util/u_handle_table.c
@@ -248,7 +248,7 @@ handle_table_get_next_handle(struct handle_table *ht,
unsigned index;
for(index = handle; index < ht->size; ++index) {
- if(!ht->objects[index])
+ if(ht->objects[index])
return index + 1;
}