From: Mark Janes Date: Wed, 1 May 2019 17:54:43 +0000 (-0700) Subject: st/mesa: eliminate unnecessary redirection X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51c3ab618be90d59da23d7e3765a45aff50bf398;p=mesa.git st/mesa: eliminate unnecessary redirection Reviewed-by: Kenneth Graunke --- 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;