mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
Decouple XFB scanout from presentation
This commit is contained in:
parent
f1e7fb505b
commit
e4b205c769
16 changed files with 319 additions and 383 deletions
|
@ -157,13 +157,14 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi)
|
|||
VertexShaderCache::Init();
|
||||
PixelShaderCache::Init();
|
||||
GeometryShaderCache::Init();
|
||||
if (!g_shader_cache->Initialize())
|
||||
|
||||
if (!g_renderer->Initialize() || !g_shader_cache->Initialize())
|
||||
return false;
|
||||
|
||||
D3D::InitUtils();
|
||||
BBox::Init();
|
||||
|
||||
return g_renderer->Initialize();
|
||||
return true;
|
||||
}
|
||||
|
||||
void VideoBackend::Shutdown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue