diff options
author | Mat M <mathew1800@gmail.com> | 2020-04-15 09:17:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 09:17:18 +0200 |
commit | 4878d6bb49e9f4b41636c3476711ed4b14a200b8 (patch) | |
tree | 031b265b48e9f3972011f2c33852ae1c08a9f7e1 /src/video_core | |
parent | Merge pull request #3663 from ReinUsesLisp/fcmp-rc (diff) | |
parent | gl_texture_cache: Fix layered texture attachment base level (diff) | |
download | yuzu-4878d6bb49e9f4b41636c3476711ed4b14a200b8.tar yuzu-4878d6bb49e9f4b41636c3476711ed4b14a200b8.tar.gz yuzu-4878d6bb49e9f4b41636c3476711ed4b14a200b8.tar.bz2 yuzu-4878d6bb49e9f4b41636c3476711ed4b14a200b8.tar.lz yuzu-4878d6bb49e9f4b41636c3476711ed4b14a200b8.tar.xz yuzu-4878d6bb49e9f4b41636c3476711ed4b14a200b8.tar.zst yuzu-4878d6bb49e9f4b41636c3476711ed4b14a200b8.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp index 0b4d999d7..2729d1265 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -417,7 +417,7 @@ void CachedSurfaceView::Attach(GLenum attachment, GLenum target) const { switch (params.target) { case SurfaceTarget::Texture2DArray: - glFramebufferTexture(target, attachment, GetTexture(), params.base_level); + glFramebufferTexture(target, attachment, GetTexture(), 0); break; default: UNIMPLEMENTED(); |