projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05e5b53
)
st/vega: Remove an invalid sanity check.
author
Chia-I Wu
<olv@lunarg.com>
Sun, 30 Jan 2011 15:09:42 +0000
(23:09 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Sun, 30 Jan 2011 15:22:40 +0000
(23:22 +0800)
Before create_handle returns, obj->handle is 0. Calling
handle_to_object will fail.
src/gallium/state_trackers/vega/handle.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vega/handle.c
b/src/gallium/state_trackers/vega/handle.c
index 5ec4d7121d3c8738927093c5ead081306e57cdde..11eedd923ed2c77e590c20c56a0498ad45e52aac 100644
(file)
--- 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;
}