mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-25 17:20:04 +00:00
Merge pull request #3654 from ReinUsesLisp/fix-fb-attach
gl_texture_cache: Fix layered texture attachment base level
This commit is contained in:
commit
4878d6bb49
@ -417,7 +417,7 @@ void CachedSurfaceView::Attach(GLenum attachment, GLenum target) const {
|
|||||||
|
|
||||||
switch (params.target) {
|
switch (params.target) {
|
||||||
case SurfaceTarget::Texture2DArray:
|
case SurfaceTarget::Texture2DArray:
|
||||||
glFramebufferTexture(target, attachment, GetTexture(), params.base_level);
|
glFramebufferTexture(target, attachment, GetTexture(), 0);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
UNIMPLEMENTED();
|
UNIMPLEMENTED();
|
||||||
|
Loading…
Reference in New Issue
Block a user