diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-10-04 21:59:24 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-10-04 22:03:16 +0100 |
commit | 7a2271c65963c86ec1e5d9523b2eecf9ee59fe9d (patch) | |
tree | 042e11fc827b760c1faeb13421bc3081d11852bd /src/gallium/drivers/softpipe | |
parent | 77ef7050587bba43c219e9d22170237898b2bb23 (diff) |
util: Make assert a no-op on non-debug builds.
This ensures that an assertion like
assert(expensive_test());
won't have any penalty on release builds. It also implies that no vital
code should be in assert expressions.
Diffstat (limited to 'src/gallium/drivers/softpipe')
0 files changed, 0 insertions, 0 deletions