diff options
Diffstat (limited to 'src/mesa/state_tracker/st_cb_xformfb.h')
-rw-r--r-- | src/mesa/state_tracker/st_cb_xformfb.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_xformfb.h b/src/mesa/state_tracker/st_cb_xformfb.h index d6c354e5a5..50efcb9293 100644 --- a/src/mesa/state_tracker/st_cb_xformfb.h +++ b/src/mesa/state_tracker/st_cb_xformfb.h @@ -29,8 +29,18 @@ #define ST_CB_XFORMFB_H +#if FEATURE_EXT_transform_feedback + extern void st_init_xformfb_functions(struct dd_function_table *functions); +#else + +static INLINE void +st_init_xformfb_functions(struct dd_function_table *functions) +{ +} + +#endif /* FEATURE_EXT_transform_feedback */ #endif /* ST_CB_XFORMFB_H */ |