mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
gallium: Give some chance for the table to actually grow.
This commit is contained in:
parent
400b12b4ce
commit
9fa88fb3c5
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue