diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-03-12 21:43:31 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-04-29 00:18:21 +0200 |
commit | 3fbee093b2bf3b4c15dbc5bb48a3bc768ecedbc9 (patch) | |
tree | 3910e8dad8f813ec61643f4d6c30097b548e60a1 /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | Merge pull request #10051 from liamwhite/surface-capabilities (diff) | |
download | yuzu-3fbee093b2bf3b4c15dbc5bb48a3bc768ecedbc9.tar yuzu-3fbee093b2bf3b4c15dbc5bb48a3bc768ecedbc9.tar.gz yuzu-3fbee093b2bf3b4c15dbc5bb48a3bc768ecedbc9.tar.bz2 yuzu-3fbee093b2bf3b4c15dbc5bb48a3bc768ecedbc9.tar.lz yuzu-3fbee093b2bf3b4c15dbc5bb48a3bc768ecedbc9.tar.xz yuzu-3fbee093b2bf3b4c15dbc5bb48a3bc768ecedbc9.tar.zst yuzu-3fbee093b2bf3b4c15dbc5bb48a3bc768ecedbc9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 3 |
1 files changed, 2 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 911e4607a..67d6910b4 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -212,7 +212,7 @@ public: void UploadMemory(const ImageBufferMap& map, std::span<const VideoCommon::BufferImageCopy> copies); - void DownloadMemory(GLuint buffer_handle, size_t buffer_offset, + void DownloadMemory(std::span<GLuint> buffer_handle, size_t buffer_offset, std::span<const VideoCommon::BufferImageCopy> copies); void DownloadMemory(ImageBufferMap& map, std::span<const VideoCommon::BufferImageCopy> copies); @@ -376,6 +376,7 @@ struct TextureCacheParams { using Sampler = OpenGL::Sampler; using Framebuffer = OpenGL::Framebuffer; using AsyncBuffer = u32; + using BufferType = GLuint; }; using TextureCache = VideoCommon::TextureCache<TextureCacheParams>; |