On 12/04/2015 01:09 PM, Ilia Mirkin wrote:
Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu>
---
  src/gallium/auxiliary/util/u_debug.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/util/u_debug.h 
b/src/gallium/auxiliary/util/u_debug.h
index aaf223c..9900703 100644
--- 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;


Reviewed-by: Brian Paul <bri...@vmware.com>
Tested-by: Brian Paul <bri...@vmware.com>

Thanks.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to