projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0beaf1c
)
st/mesa: fix st_NewPerfMonitor() declaration
author
Brian Paul
<brianp@vmware.com>
Tue, 5 May 2015 21:42:34 +0000
(15:42 -0600)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_perfmon.c
b/src/mesa/state_tracker/st_cb_perfmon.c
index 4bde679fe3757f79357f12c4f9bc9618b0775ce0..c8d4490d817c65bb7210c448da54035a2268d3cc 100644
(file)
--- 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) {