aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/glapi
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/glapi')
-rw-r--r--mesalib/src/mesa/glapi/glapi_nop.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/mesalib/src/mesa/glapi/glapi_nop.c b/mesalib/src/mesa/glapi/glapi_nop.c
index df9c58728..4257b1fbc 100644
--- a/mesalib/src/mesa/glapi/glapi_nop.c
+++ b/mesalib/src/mesa/glapi/glapi_nop.c
@@ -48,6 +48,26 @@
#include "glapi/glapi.h"
+
+/*
+ * These stubs are kept so that the old DRI drivers still load.
+ */
+PUBLIC void
+_glapi_noop_enable_warnings(GLboolean enable);
+
+PUBLIC void
+_glapi_set_warning_func(_glapi_proc func);
+
+void
+_glapi_noop_enable_warnings(GLboolean enable)
+{
+}
+
+void
+_glapi_set_warning_func(_glapi_proc func)
+{
+}
+
#ifdef DEBUG
/**