Module: Mesa Branch: master Commit: 212f26bb6070d6a1ddb9513d32233614a993e1d4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=212f26bb6070d6a1ddb9513d32233614a993e1d4
Author: Brian Paul <bri...@vmware.com> Date: Tue May 5 15:49:56 2015 -0600 st/mesa: fix pipe_query_result result initializer Fixes MSVC build error. Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu> --- src/mesa/state_tracker/st_cb_perfmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_cb_perfmon.c b/src/mesa/state_tracker/st_cb_perfmon.c index c8d4490..1bb5be3 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit