mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-26 17:31:42 +00:00
Allow 3D textures to be bound to framebuffers with layers
This commit is contained in:
@@ -2266,7 +2266,7 @@ void GLResourceManager::Apply_InitialState(GLResource live, const GLInitialConte
|
||||
}
|
||||
else if(details.curType == eGL_TEXTURE_CUBE_MAP_ARRAY ||
|
||||
details.curType == eGL_TEXTURE_1D_ARRAY ||
|
||||
details.curType == eGL_TEXTURE_2D_ARRAY)
|
||||
details.curType == eGL_TEXTURE_2D_ARRAY || details.curType == eGL_TEXTURE_3D)
|
||||
{
|
||||
if(a.numViews > 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user