summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_feedback.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_cb_feedback.h')
-rw-r--r--src/mesa/state_tracker/st_cb_feedback.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_feedback.h b/src/mesa/state_tracker/st_cb_feedback.h
index 2559ba3817..706d84960f 100644
--- a/src/mesa/state_tracker/st_cb_feedback.h
+++ b/src/mesa/state_tracker/st_cb_feedback.h
@@ -30,8 +30,20 @@
#define ST_CB_FEEDBACK_H
+#include "main/mtypes.h"
+
+#if FEATURE_feedback
+
extern void
st_init_feedback_functions(struct dd_function_table *functions);
+#else
+
+static INLINE void
+st_init_feedback_functions(struct dd_function_table *functions)
+{
+}
+
+#endif /* FEATURE_feedback */
#endif /* ST_CB_FEEDBACK_H */