[Mesa-dev] [PATCH 2/3] st/mesa: fix st_NewPerfMonitor() declaration

Brian Paul brianp at vmware.com
Tue May 5 14:50:19 PDT 2015


Was missing the context parameter.  Fixes MSVC warning.
---
 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 4bde679..c8d4490 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) {
-- 
1.9.1



More information about the mesa-dev mailing list