projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a69ac4e
)
gallium/util: fix pipe_debug_message macro to allow 0 args
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Fri, 4 Dec 2015 20:08:23 +0000
(15:08 -0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Fri, 4 Dec 2015 20:24:17 +0000
(15:24 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_debug.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug.h
b/src/gallium/auxiliary/util/u_debug.h
index aaf223c6f6859393825c11f58811af799bc96c53..99007039a7c6b08e0158426f3d94c7a5b08e5d7d 100644
(file)
--- a/
src/gallium/auxiliary/util/u_debug.h
+++ b/
src/gallium/auxiliary/util/u_debug.h
@@
-270,7
+270,7
@@
void _debug_assert_fail(const char *expr,
static unsigned id = 0; \
_pipe_debug_message(cb, &id, \
PIPE_DEBUG_TYPE_ ## type, \
- fmt, __VA_ARGS__); \
+ fmt,
##
__VA_ARGS__); \
} while (0)
struct pipe_debug_callback;