mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 11:02:28 +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
@ -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 New Issue
Block a user