summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/llvmpipe/lp_query.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_query.c b/src/gallium/drivers/llvmpipe/lp_query.c
index ac6d09d9a0f..cea2d07394e 100644
--- a/src/gallium/drivers/llvmpipe/lp_query.c
+++ b/src/gallium/drivers/llvmpipe/lp_query.c
@@ -134,8 +134,6 @@ llvmpipe_get_query_result(struct pipe_context *pipe,
if (pq->end[i] > *result) {
*result = pq->end[i];
}
- if (*result == 0)
- *result = os_time_get_nano();
}
break;
case PIPE_QUERY_TIMESTAMP_DISJOINT: {