util: add debug_warn_once() macro
authorBrian Paul <brianp@vmware.com>
Sat, 7 Jan 2012 21:16:27 +0000 (14:16 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 7 Jan 2012 21:16:27 +0000 (14:16 -0700)
commit94bf2d48e19b86a4cfa4ff3bf3da97967f8a2793
treedb0d75a4d8950564402f748e3c254a68214d8ec1
parent994c33db875c6af2f5b535a7a173ff3bfa24fc32
util: add debug_warn_once() macro

Emits a warning message, but only once to avoid tons of repeated warnings.
src/gallium/auxiliary/util/u_debug.h