summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-05-05 15:42:34 -0600
committerBrian Paul <[email protected]>2015-05-05 16:00:53 -0600
commit062e2b06b2978efad2cc3ab61e2eda0a1111f043 (patch)
treeae2b37dc2456fe4f43e7569ddb36203f0ce35654 /src/mesa/state_tracker
parent0beaf1cd9a9a882b4f896dc1865622d72488ff31 (diff)
st/mesa: fix st_NewPerfMonitor() declaration
Was missing the context parameter. Fixes MSVC warning. Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-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 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) {