diff options
author | Fernando S <fsahmkow27@gmail.com> | 2021-07-20 20:33:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 20:33:07 +0200 |
commit | f460bf937e2f8c6ef5a1e1c019a5513f706f09ed (patch) | |
tree | ff3dce686169dba83bbc187832df2d6705dcd374 /src/video_core | |
parent | Merge pull request #6684 from ogniK5377/uuid-cpp20-new (diff) | |
parent | gl_texture_cache: Workaround slow PBO downloads on radeonsi (diff) | |
download | yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.gz yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.bz2 yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.lz yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.xz yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.zst yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 2 |
1 files changed, 1 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 25fe61566..cf3b789e3 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -122,7 +122,7 @@ private: bool has_broken_texture_view_formats = false; StagingBuffers upload_buffers{GL_MAP_WRITE_BIT, GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT}; - StagingBuffers download_buffers{GL_MAP_READ_BIT, GL_MAP_READ_BIT}; + StagingBuffers download_buffers{GL_MAP_READ_BIT | GL_CLIENT_STORAGE_BIT, GL_MAP_READ_BIT}; OGLTexture null_image_1d_array; OGLTexture null_image_cube_array; |