summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-04-15 09:17:18 +0200
committerGitHub <noreply@github.com>2020-04-15 09:17:18 +0200
commit4878d6bb49e9f4b41636c3476711ed4b14a200b8 (patch)
tree031b265b48e9f3972011f2c33852ae1c08a9f7e1 /src
parentMerge pull request #3663 from ReinUsesLisp/fcmp-rc (diff)
parentgl_texture_cache: Fix layered texture attachment base level (diff)
downloadyuzu-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')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp2
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();