Vulkan: Fix FramebufferManagerBase::m_EFBLayers being set out-of-range

This commit is contained in:
Stenzek 2018-01-11 15:30:27 +10:00
parent 173a33886c
commit 48a8063cd5

View File

@ -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 =