mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
st/vega: Remove an invalid sanity check.
Before create_handle returns, obj->handle is 0. Calling handle_to_object will fail.
This commit is contained in:
parent
05e5b53128
commit
e919dee1ed
1 changed files with 0 additions and 6 deletions
|
|
@ -81,12 +81,6 @@ create_handle(void *object)
|
|||
{
|
||||
VGHandle h = next_handle++;
|
||||
util_hash_table_set(handle_hash, intptr_to_pointer(h), object);
|
||||
#if DEBUG
|
||||
{
|
||||
void *v = handle_to_object(h);
|
||||
assert(v == object);
|
||||
}
|
||||
#endif
|
||||
return h;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue