diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-13 23:24:54 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-13 23:24:56 +0200 |
commit | 21dc8421714bf802634f2adb956c46cf761983a3 (patch) | |
tree | 3227999726bdede00923314e3fa49f4854e16296 /src | |
parent | Merge pull request #3636 from ReinUsesLisp/drop-vk-hpp (diff) | |
download | yuzu-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')
-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(); |