r600g: don't set the query result to 0 after a call to get_query_result
authorMarek Olšák <maraeo@gmail.com>
Thu, 10 Nov 2011 22:55:49 +0000 (23:55 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 10 Nov 2011 23:08:01 +0000 (00:08 +0100)
get_query_result doesn't reset the result. Only begin_query does.

src/gallium/drivers/r600/r600_hw_context.c

index c510167..52e0be7 100644 (file)
@@ -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;
 }