projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
062e2b0
)
st/mesa: fix pipe_query_result result initializer
author
Brian Paul
<brianp@vmware.com>
Tue, 5 May 2015 21:49:56 +0000
(15:49 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 5 May 2015 22:00:54 +0000
(16:00 -0600)
Fixes MSVC build error.
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 c8d4490d817c65bb7210c448da54035a2268d3cc..1bb5be397aeac7f459823656c41b57a35f38538d 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_perfmon.c
+++ b/
src/mesa/state_tracker/st_cb_perfmon.c
@@
-266,7
+266,7
@@
st_GetPerfMonitorResult(struct gl_context *ctx,
/* Read query results for each active counter. */
LIST_FOR_EACH_ENTRY(cntr, &stm->active_counters, list) {
- union pipe_query_result result = {};
+ union pipe_query_result result = {
0
};
int gid, cid;
GLenum type;