summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-17 16:57:02 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-18 09:22:01 -0600
commit414b535134256dbe9e4d4a92068143f054e13720 (patch)
treedfa94b633cff82448c7ec612e1572503dbfc48c1 /src/mesa/state_tracker
parent03d579aa19bcb1facec5ab67b6f7123e9ec9f26e (diff)
gallium: more FEATURE_x tests
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_context.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 1b3b999714..d394562feb 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -164,10 +164,14 @@ static void st_destroy_context_priv( struct st_context *st )
st_destroy_atoms( st );
st_destroy_draw( st );
st_destroy_generate_mipmap(st);
- st_destroy_bitmap(st);
+#if FEATURE_EXT_framebuffer_blit
st_destroy_blit(st);
+#endif
st_destroy_clear(st);
+#if FEATURE_drawpix
+ st_destroy_bitmap(st);
st_destroy_drawpix(st);
+#endif
_vbo_DestroyContext(st->ctx);