mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Vulkan: Fix FramebufferManagerBase::m_EFBLayers being set out-of-range
This commit is contained in:
@ -164,7 +164,7 @@ bool FramebufferManager::CreateEFBFramebuffer()
|
|||||||
INFO_LOG(VIDEO, "EFB size: %ux%ux%u", efb_width, efb_height, efb_layers);
|
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?
|
// 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
|
// Allocate EFB render targets
|
||||||
m_efb_color_texture =
|
m_efb_color_texture =
|
||||||
|
Reference in New Issue
Block a user