diff options
author | José Fonseca <[email protected]> | 2008-03-19 20:46:08 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-03-19 20:46:08 +0000 |
commit | df5ba799fa929d4c739be9d11d3f1000afc265b2 (patch) | |
tree | c44a2d7a3ddc64f5053fe3a162c524fa49318d5a /src/gallium/auxiliary/util | |
parent | b4f03d0c98674c83d06edfa767a7898eca5d4ef8 (diff) |
gallium: Fix broken logic.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_handle_table.c | 2 |
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; } |