mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-19 16:00:31 -05:00
FramebufferManager: Dynamic selection of EFB depth format
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user