Browse Source
Merge pull request #3654 from ReinUsesLisp/fix-fb-attach
gl_texture_cache: Fix layered texture attachment base level
pull/15/merge
Mat M
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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(); |
|
|
|
|