gallium: Give some chance for the table to actually grow.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 20 Mar 2008 20:34:46 +0000 (20:34 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 20 Mar 2008 20:40:50 +0000 (20:40 +0000)
src/gallium/auxiliary/util/u_handle_table.c

index 8b0f7fc..5a731a6 100644 (file)
@@ -171,8 +171,7 @@ handle_table_set(struct handle_table *ht,
    
    assert(ht);
    assert(handle > 0);
-   assert(handle <= ht->size);
-   if(!handle || handle > ht->size)
+   if(!handle)
       return 0;
 
    assert(object);