diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2011-06-07 17:40:37 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2011-06-07 17:40:37 -0400 |
commit | bdf2e112856659816d000699fce606adc4ee9926 (patch) | |
tree | 0bffb396feb054fc27b4cc403b854a7b3ac00609 /src/egl/drivers/dri2 | |
parent | 5d4c4798223c3463dbf67c47b9563f82c9057e7f (diff) |
r600g : fix incorrect size computation in r600_query_result
query->num_results already has the size in dwords of the query
buffer. There no need to multiply again. We were reading past
the end of the buffer, resulting in reading garbage.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=37028
agd5f: clarify the comment.
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2')
0 files changed, 0 insertions, 0 deletions