[Mesa-dev] [PATCH 3/3] st/mesa: fix pipe_query_result result initializer
Ilia Mirkin
imirkin at alum.mit.edu
Tue May 5 14:58:55 PDT 2015
Series is
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
On Tue, May 5, 2015 at 5:50 PM, Brian Paul <brianp at vmware.com> wrote:
> Fixes MSVC build error.
> ---
> 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;
>
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list