aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_perfmon.c
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2019-05-01 10:54:43 -0700
committerMark Janes <[email protected]>2019-08-07 21:33:56 -0700
commit51c3ab618be90d59da23d7e3765a45aff50bf398 (patch)
treed9382c65e090da6401675bf959be0c60a6183142 /src/mesa/state_tracker/st_cb_perfmon.c
parent61c54a88785f394f37605702053e738c790ed025 (diff)
st/mesa: eliminate unnecessary redirection
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_perfmon.c')
-rw-r--r--src/mesa/state_tracker/st_cb_perfmon.c2
1 files changed, 1 insertions, 1 deletions
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;