X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fstate_tracker%2Fst_cb_blit.h;h=c6d9a367955de5ad4d0e1d486838bd8ccf90a398;hb=02d12719e356ee9e3348db67ae55ae790dad058f;hp=ed22986b531ba749f0685164d33be36f63336e07;hpb=df6155fcff66034457b3165f5df0a61ccfc41314;p=mesa.git diff --git a/src/mesa/state_tracker/st_cb_blit.h b/src/mesa/state_tracker/st_cb_blit.h index ed22986b531..c6d9a367955 100644 --- a/src/mesa/state_tracker/st_cb_blit.h +++ b/src/mesa/state_tracker/st_cb_blit.h @@ -29,8 +29,11 @@ #define ST_CB_BLIT_H -#include "st_context.h" +#include "main/compiler.h" +#include "main/mfeatures.h" +struct dd_function_table; +struct st_context; extern void @@ -39,8 +42,18 @@ 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 */