ilo: resolve Z/HiZ correctly
[mesa.git] / src / gallium / drivers / i915 / i915_query.c
index c886df74bad5564687d9e03e3c2be16a9d1baa16..0efceb192b63de350731bcf9e6464ec768f3a899 100644 (file)
@@ -65,7 +65,7 @@ static void i915_end_query(struct pipe_context *ctx, struct pipe_query *query)
 static boolean i915_get_query_result(struct pipe_context *ctx,
                                      struct pipe_query *query,
                                      boolean wait,
-                                     void *vresult)
+                                     union pipe_query_result *vresult)
 {
    uint64_t *result = (uint64_t*)vresult;