diff options
author | Chia-I Wu <[email protected]> | 2010-05-11 13:20:40 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-05-12 12:12:58 +0800 |
commit | 1975208919a273018a2cda87e765870c5f86d01f (patch) | |
tree | 3bbe6966bb98f4cde0da0272dcd7807b8326914c /src/mesa/state_tracker/st_context.c | |
parent | 278bca0db982065aeb61a208295e6994c021c9f0 (diff) |
st/mesa: Make st_cb_drawtex.h FEATURE_OES_draw_texture aware.
This change allows st_cb_drawtex.h to be used without knowing if
FEATURE_OES_draw_texture is enabled.
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 08963b468c9..21d0fa96e16 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -40,9 +40,7 @@ #include "st_cb_condrender.h" #include "st_cb_drawpixels.h" #include "st_cb_rasterpos.h" -#if FEATURE_OES_draw_texture #include "st_cb_drawtex.h" -#endif #include "st_cb_eglimage.h" #include "st_cb_fbo.h" #include "st_cb_feedback.h" @@ -216,9 +214,7 @@ static void st_destroy_context_priv( struct st_context *st ) st_destroy_clear(st); st_destroy_bitmap(st); st_destroy_drawpix(st); -#if FEATURE_OES_draw_texture st_destroy_drawtex(st); -#endif for (i = 0; i < Elements(st->state.sampler_views); i++) { pipe_sampler_view_reference(&st->state.sampler_views[i], NULL); @@ -286,9 +282,7 @@ void st_init_driver_functions(struct dd_function_table *functions) st_init_drawpixels_functions(functions); st_init_rasterpos_functions(functions); -#if FEATURE_OES_draw_texture st_init_drawtex_functions(functions); -#endif st_init_eglimage_functions(functions); |