diff options
-rw-r--r-- | src/mesa/state_tracker/st_cb_perfmon.c | 2 |
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; |