llvmpipe: remove never reached code for timestamp queries.

timestamp queries are always binned in an active scene, therefore
always have a result.
This commit is contained in:
Roland Scheidegger 2013-06-27 18:56:26 +02:00
parent 59b8689d37
commit b04a295a4a

View file

@ -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: {