mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-15 05:52:05 +00:00
Merge pull request #3959 from leoetlino/d3d-bbox-fix
D3D: Fix crash on start with BBox enabled
This commit is contained in:
commit
a4f2f13c3d
2 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,7 @@ void VideoBackend::Video_Prepare()
|
||||||
PixelShaderCache::Init();
|
PixelShaderCache::Init();
|
||||||
GeometryShaderCache::Init();
|
GeometryShaderCache::Init();
|
||||||
D3D::InitUtils();
|
D3D::InitUtils();
|
||||||
|
BBox::Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoBackend::Shutdown()
|
void VideoBackend::Shutdown()
|
||||||
|
|
|
@ -181,6 +181,7 @@ void VideoBackend::Video_Prepare()
|
||||||
StaticShaderCache::Init();
|
StaticShaderCache::Init();
|
||||||
StateCache::Init(); // PSO cache is populated here, after constituent shaders are loaded.
|
StateCache::Init(); // PSO cache is populated here, after constituent shaders are loaded.
|
||||||
D3D::InitUtils();
|
D3D::InitUtils();
|
||||||
|
BBox::Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoBackend::Shutdown()
|
void VideoBackend::Shutdown()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue