From 48a8063cd5e0b6bce6d152ea8b2bd213bb954244 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 11 Jan 2018 15:30:27 +1000 Subject: [PATCH] Vulkan: Fix FramebufferManagerBase::m_EFBLayers being set out-of-range --- Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp index 8befba821a..53302bb544 100644 --- a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp +++ b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp @@ -164,7 +164,7 @@ bool FramebufferManager::CreateEFBFramebuffer() INFO_LOG(VIDEO, "EFB size: %ux%ux%u", efb_width, efb_height, efb_layers); // Update the static variable in the base class. Why does this even exist? - FramebufferManagerBase::m_EFBLayers = g_ActiveConfig.iMultisamples; + FramebufferManagerBase::m_EFBLayers = efb_layers; // Allocate EFB render targets m_efb_color_texture =