st/mesa: fix pipe_query_result result initializer
authorBrian Paul <brianp@vmware.com>
Tue, 5 May 2015 21:49:56 +0000 (15:49 -0600)
committerBrian 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

index c8d4490d817c65bb7210c448da54035a2268d3cc..1bb5be397aeac7f459823656c41b57a35f38538d 100644 (file)
@@ -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;