summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_blit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_cb_blit.h')
-rw-r--r--src/mesa/state_tracker/st_cb_blit.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_blit.h b/src/mesa/state_tracker/st_cb_blit.h
index ed22986b531..7ab9a54df90 100644
--- a/src/mesa/state_tracker/st_cb_blit.h
+++ b/src/mesa/state_tracker/st_cb_blit.h
@@ -29,18 +29,28 @@
#define ST_CB_BLIT_H
+#include "main/mtypes.h"
#include "st_context.h"
-
extern void
st_init_blit(struct st_context *st);
extern void
st_destroy_blit(struct st_context *st);
+#if FEATURE_EXT_framebuffer_blit
+
extern void
st_init_blit_functions(struct dd_function_table *functions);
+#else
+
+static INLINE void
+st_init_blit_functions(struct dd_function_table *functions)
+{
+}
+
+#endif /* FEATURE_EXT_framebuffer_blit */
#endif /* ST_CB_BLIT_H */