mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-22 10:11:41 +00:00
FramebufferManager: Dynamic selection of EFB depth format
This commit is contained in:
parent
b30342d38f
commit
3323265d91
5 changed files with 22 additions and 8 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "VideoCommon/AbstractTexture.h"
|
||||
#include "VideoCommon/RenderBase.h"
|
||||
|
||||
std::unique_ptr<FramebufferManagerBase> g_framebuffer_manager;
|
||||
|
@ -13,3 +14,8 @@ std::unique_ptr<FramebufferManagerBase> g_framebuffer_manager;
|
|||
unsigned int FramebufferManagerBase::m_EFBLayers = 1;
|
||||
|
||||
FramebufferManagerBase::~FramebufferManagerBase() = default;
|
||||
|
||||
AbstractTextureFormat FramebufferManagerBase::GetEFBDepthFormat()
|
||||
{
|
||||
return AbstractTextureFormat::D32F;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue