st/mesa: call is_format_supported() for compressed formats
[mesa.git] / src / mesa / state_tracker / st_debug.c
index 5dbabfa5c2feac2a0c160c1f020eb2e8fa3cd7e8..175bf9e6f97326a7a7ce34be56d41ec2a0138bff 100644 (file)
@@ -75,7 +75,7 @@ void
 st_print_current(void)
 {
    GET_CURRENT_CONTEXT(ctx);
-   struct st_context *st = ctx->st;
+   struct st_context *st = st_context(ctx);
 
 #if 0
    int i;