gallium: remove some debug assertions in vertex format validation
[mesa.git] / src / mesa / pipe / p_debug.h
index b037eba2a35dc4f6180913a4813f6baab49209a8..2a11627b365ae1a07bb9d77288288b33ef9a00e1 100644 (file)
 #ifndef P_DEBUG_H_
 #define P_DEBUG_H_
 
+
+#include <stdarg.h>
+
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -55,8 +59,12 @@ extern "C" {
 
 
 void debug_printf(const char *format, ...);
+
+void debug_vprintf(const char *format, va_list ap);
+
 void debug_assert_fail(const char *expr, const char *file, unsigned line);
 
+
 /** Assert macro */
 #ifdef DEBUG
 #define debug_assert(expr) ((expr) ? (void)0 : debug_assert_fail(#expr, __FILE__, __LINE__))
@@ -66,7 +74,6 @@ void debug_assert_fail(const char *expr, const char *file, unsigned line);
 
 
 #ifdef assert
-#warning Standard C Library assert macro usage detected. 
 #undef assert
 #endif
 #define assert(expr) debug_assert(expr)