gallium/util: fix pipe_debug_message macro to allow 0 args

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Ilia Mirkin 2015-12-04 15:08:23 -05:00
parent a69ac4e89c
commit a3f90ef0a6
1 changed files with 1 additions and 1 deletions

View File

@ -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;