mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-21 03:41:42 +02:00
D3D: Fix crash on start with BBox enabled
Someone removed the BBox::Init(), causing crashes when BBox is enabled. Fixes issue #9643.
This commit is contained in:
parent
cf2c5e276c
commit
1b71249562
2 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,7 @@ void VideoBackend::Video_Prepare()
|
|||
PixelShaderCache::Init();
|
||||
GeometryShaderCache::Init();
|
||||
D3D::InitUtils();
|
||||
BBox::Init();
|
||||
}
|
||||
|
||||
void VideoBackend::Shutdown()
|
||||
|
|
|
@ -181,6 +181,7 @@ void VideoBackend::Video_Prepare()
|
|||
StaticShaderCache::Init();
|
||||
StateCache::Init(); // PSO cache is populated here, after constituent shaders are loaded.
|
||||
D3D::InitUtils();
|
||||
BBox::Init();
|
||||
}
|
||||
|
||||
void VideoBackend::Shutdown()
|
||||
|
|
Loading…
Reference in a new issue