projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e7713c
)
softpipe: fix an obvious copy-paste error in get_query_result
author
Marek Olšák
<maraeo@gmail.com>
Tue, 16 Aug 2011 17:06:55 +0000
(19:06 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 16 Aug 2011 17:56:29 +0000
(19:56 +0200)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_query.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_query.c
b/src/gallium/drivers/softpipe/sp_query.c
index 4ae69c1c2bdaf5cbdf147f37394860e4fd4b1b3c..88f42572f1939bafe70bbbbdabb632e970847da2 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_query.c
+++ b/
src/gallium/drivers/softpipe/sp_query.c
@@
-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;