Allow 3D textures to be bound to framebuffers with layers

This commit is contained in:
baldurk
2020-07-12 10:52:10 +01:00
parent da0e18dbac
commit 6dd09ed2cb
+1 -1
View File
@@ -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)
{