From 51c3ab618be90d59da23d7e3765a45aff50bf398 Mon Sep 17 00:00:00 2001 From: Mark Janes Date: Wed, 1 May 2019 10:54:43 -0700 Subject: [PATCH] st/mesa: eliminate unnecessary redirection Reviewed-by: Kenneth Graunke --- src/mesa/state_tracker/st_cb_perfmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_cb_perfmon.c b/src/mesa/state_tracker/st_cb_perfmon.c index e1873d7c408..914831f3d03 100644 --- a/src/mesa/state_tracker/st_cb_perfmon.c +++ b/src/mesa/state_tracker/st_cb_perfmon.c @@ -344,7 +344,7 @@ static void st_InitPerfMonitorGroups(struct gl_context *ctx) { struct st_context *st = st_context(ctx); - struct gl_perf_monitor_state *perfmon = &st->ctx->PerfMonitor; + struct gl_perf_monitor_state *perfmon = &ctx->PerfMonitor; struct pipe_screen *screen = st->pipe->screen; struct gl_perf_monitor_group *groups = NULL; struct st_perf_monitor_group *stgroups = NULL; -- 2.30.2