softpipe: fix an obvious copy-paste error in get_query_result

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Marek Olšák 2011-08-16 19:06:55 +02:00
parent 5e7713caa9
commit 9e8f556b19

View file

@ -157,7 +157,7 @@ softpipe_get_query_result(struct pipe_context *pipe,
/*os_get_time is in microseconds*/
td.frequency = 1000000;
td.disjoint = FALSE;
memcpy(vresult, &sq->so,
memcpy(vresult, &td,
sizeof(struct pipe_query_data_timestamp_disjoint));
}
break;