gallium: more context clean-up
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 13 Aug 2008 00:02:44 +0000 (18:02 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 13 Aug 2008 00:02:44 +0000 (18:02 -0600)
src/mesa/state_tracker/st_context.c

index 00447fff081e2c3a52dd9f7117397b047589b82e..6e4a376d44a15e7fd1eacd5cf53725d15a8a27b8 100644 (file)
@@ -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);