diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-03-31 12:33:26 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-05-12 12:12:58 +0800 |
commit | e76e17d569af924e187fa22facfb968667854cea (patch) | |
tree | 6a8295bc057b0c24949d4ca8870e602c7bd9a830 /src/mesa/state_tracker/st_cb_blit.h | |
parent | 16775f4951e4a515167a8ec4115b692c256c5f16 (diff) |
st/mesa: Make st_cb_blit.h FEATURE_EXT_framebuffer_blit aware.
This change allows st_cb_blit.h to be used without knowing if
FEATURE_EXT_framebuffer_blit is enabled.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_blit.h')
-rw-r--r-- | src/mesa/state_tracker/st_cb_blit.h | 12 |
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 ed22986b53..7ab9a54df9 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 */ |