st/mesa: fix st_NewPerfMonitor() declaration
authorBrian Paul <brianp@vmware.com>
Tue, 5 May 2015 21:42:34 +0000 (15:42 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 5 May 2015 22:00:53 +0000 (16:00 -0600)
Was missing the context parameter.  Fixes MSVC warning.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_cb_perfmon.c

index 4bde679fe3757f79357f12c4f9bc9618b0775ce0..c8d4490d817c65bb7210c448da54035a2268d3cc 100644 (file)
@@ -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) {