summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-13 23:24:54 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-13 23:24:56 +0200
commit21dc8421714bf802634f2adb956c46cf761983a3 (patch)
tree3227999726bdede00923314e3fa49f4854e16296 /src/video_core
parentMerge pull request #3636 from ReinUsesLisp/drop-vk-hpp (diff)
downloadyuzu-21dc8421714bf802634f2adb956c46cf761983a3.tar
yuzu-21dc8421714bf802634f2adb956c46cf761983a3.tar.gz
yuzu-21dc8421714bf802634f2adb956c46cf761983a3.tar.bz2
yuzu-21dc8421714bf802634f2adb956c46cf761983a3.tar.lz
yuzu-21dc8421714bf802634f2adb956c46cf761983a3.tar.xz
yuzu-21dc8421714bf802634f2adb956c46cf761983a3.tar.zst
yuzu-21dc8421714bf802634f2adb956c46cf761983a3.zip
Diffstat (limited to 'src/video_core')
-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();