From b8428e63353373e769a9ba787875b49fdd25a1ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 10 Nov 2011 23:55:49 +0100 Subject: [PATCH] r600g: don't set the query result to 0 after a call to get_query_result get_query_result doesn't reset the result. Only begin_query does. --- src/gallium/drivers/r600/r600_hw_context.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index c51016738bd..52e0be7d5e2 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -1849,8 +1849,6 @@ boolean r600_context_query_result(struct r600_context *ctx, default: assert(0); } - - memset(&query->result, 0, sizeof(query->result)); return TRUE; } -- 2.30.2