vk_texture_cache: Fix typo in commentary

Co-Authored-By: MysticExile <30736337+MysticExile@users.noreply.github.com>
This commit is contained in:
Rodrigo Locatti 2020-01-16 16:59:46 -03:00 committed by GitHub
parent 09e17fbb0f
commit 82e1285c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,7 +229,7 @@ void CachedSurface::DownloadTexture(std::vector<u8>& staging_buffer) {
} }
scheduler.Finish(); scheduler.Finish();
// TODO(Rodrigo): Use an intern buffer for staging buffers and avoid this unnecesary memcpy. // TODO(Rodrigo): Use an intern buffer for staging buffers and avoid this unnecessary memcpy.
std::memcpy(staging_buffer.data(), buffer.commit->Map(host_memory_size), host_memory_size); std::memcpy(staging_buffer.data(), buffer.commit->Map(host_memory_size), host_memory_size);
} }