mesa: add bool param to _mesa_free_context_data
[mesa.git] / src / mesa / state_tracker / st_context.c
index 2fc4ffe672842d9ac779aaa22d8b2c9807341b16..3b1fb8628915d2e9e4f67a44dccf61da6a9e6b51 100644 (file)
@@ -1103,7 +1103,7 @@ st_destroy_context(struct st_context *st)
 
    st_destroy_program_variants(st);
 
-   _mesa_free_context_data(ctx);
+   _mesa_free_context_data(ctx, true);
 
    /* This will free the st_context too, so 'st' must not be accessed
     * afterwards. */