From 062e2b06b2978efad2cc3ab61e2eda0a1111f043 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 5 May 2015 15:42:34 -0600 Subject: [PATCH] st/mesa: fix st_NewPerfMonitor() declaration Was missing the context parameter. Fixes MSVC warning. Reviewed-by: Ilia Mirkin --- 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 4bde679fe37..c8d4490d817 100644 --- a/src/mesa/state_tracker/st_cb_perfmon.c +++ b/src/mesa/state_tracker/st_cb_perfmon.c @@ -149,7 +149,7 @@ reset_perf_monitor(struct st_perf_monitor_object *stm, } static struct gl_perf_monitor_object * -st_NewPerfMonitor() +st_NewPerfMonitor(struct gl_context *ctx) { struct st_perf_monitor_object *stq = ST_CALLOC_STRUCT(st_perf_monitor_object); if (stq) { -- 2.30.2