summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-01-30 23:09:42 +0800
committerChia-I Wu <[email protected]>2011-01-30 23:22:40 +0800
commite919dee1edd469c174c5c07c95efd4932a674b67 (patch)
treed011db09a1dd250c780a56ae045bbbe7ce1e2aa1 /src/gallium/state_trackers
parent05e5b53128fc4dc25769fecace671cdaa7004630 (diff)
st/vega: Remove an invalid sanity check.
Before create_handle returns, obj->handle is 0. Calling handle_to_object will fail.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/vega/handle.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/vega/handle.c b/src/gallium/state_trackers/vega/handle.c
index 5ec4d7121d3..11eedd923ed 100644
--- a/src/gallium/state_trackers/vega/handle.c
+++ b/src/gallium/state_trackers/vega/handle.c
@@ -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;
}