From c0876f2573eb97b5379e017ec9dfa352ce83fedd Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 10 Nov 2020 13:02:28 +0000 Subject: [PATCH] Fix multisampled array framebuffer attachments in initial states --- renderdoc/driver/gl/gl_initstate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/renderdoc/driver/gl/gl_initstate.cpp b/renderdoc/driver/gl/gl_initstate.cpp index 74cf3215f..c463bf2eb 100644 --- a/renderdoc/driver/gl/gl_initstate.cpp +++ b/renderdoc/driver/gl/gl_initstate.cpp @@ -2289,7 +2289,9 @@ 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_3D) + details.curType == eGL_TEXTURE_2D_ARRAY || + details.curType == eGL_TEXTURE_2D_MULTISAMPLE_ARRAY || + details.curType == eGL_TEXTURE_3D) { if(a.numViews > 1) {