diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-04-23 21:37:13 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-04-29 15:31:38 +0200 |
commit | 4bc5469f52157cd18e697120df40e40e32365e89 (patch) | |
tree | 43879297dd91ac1ab824010610e724c37ec3cb95 /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | Address Feedback & Clang Format (diff) | |
download | yuzu-4bc5469f52157cd18e697120df40e40e32365e89.tar yuzu-4bc5469f52157cd18e697120df40e40e32365e89.tar.gz yuzu-4bc5469f52157cd18e697120df40e40e32365e89.tar.bz2 yuzu-4bc5469f52157cd18e697120df40e40e32365e89.tar.lz yuzu-4bc5469f52157cd18e697120df40e40e32365e89.tar.xz yuzu-4bc5469f52157cd18e697120df40e40e32365e89.tar.zst yuzu-4bc5469f52157cd18e697120df40e40e32365e89.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index 67d6910b4..0dd039ed2 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -212,7 +212,10 @@ public: void UploadMemory(const ImageBufferMap& map, std::span<const VideoCommon::BufferImageCopy> copies); - void DownloadMemory(std::span<GLuint> buffer_handle, size_t buffer_offset, + void DownloadMemory(GLuint buffer_handle, size_t buffer_offset, + std::span<const VideoCommon::BufferImageCopy> copies); + + void DownloadMemory(std::span<GLuint> buffer_handle, std::span<size_t> buffer_offset, std::span<const VideoCommon::BufferImageCopy> copies); void DownloadMemory(ImageBufferMap& map, std::span<const VideoCommon::BufferImageCopy> copies); |