summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-05-05 15:49:56 -0600
committerBrian Paul <[email protected]>2015-05-05 16:00:54 -0600
commit212f26bb6070d6a1ddb9513d32233614a993e1d4 (patch)
treeecfd06fc7a4c1ad36b7e01e3d7d33a85ec0dee68 /src/mesa/state_tracker
parent062e2b06b2978efad2cc3ab61e2eda0a1111f043 (diff)
st/mesa: fix pipe_query_result result initializer
Fixes MSVC build error. 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 c8d4490d817..1bb5be397ae 100644
--- 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;