diff options
author | Brian Paul <[email protected]> | 2008-08-12 18:02:44 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-08-12 18:02:44 -0600 |
commit | 4424c668756a6639d3c042c297b63ea47b629735 (patch) | |
tree | 4f7cb78bfdfc44566ce330cc1ba442001d7b495c | |
parent | a6880ace4ca4a3cfde1a7a7578a8134e8f32d31d (diff) |
gallium: more context clean-up
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 00447fff081..6e4a376d44a 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -45,6 +45,9 @@ #include "st_cb_drawpixels.h" #include "st_cb_rasterpos.h" #endif +#ifdef FEATURE_OES_draw_texture +#include "st_cb_drawtex.h" +#endif #include "st_cb_fbo.h" #if FEATURE_feedback #include "st_cb_feedback.h" @@ -180,6 +183,9 @@ static void st_destroy_context_priv( struct st_context *st ) st_destroy_bitmap(st); st_destroy_drawpix(st); #endif +#ifdef FEATURE_OES_draw_texture + st_destroy_drawtex(st); +#endif _vbo_DestroyContext(st->ctx); |