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:
Léo Lam 2016-06-27 12:45:00 +02:00
parent cf2c5e276c
commit 1b71249562
2 changed files with 2 additions and 0 deletions

View file

@ -162,6 +162,7 @@ void VideoBackend::Video_Prepare()
PixelShaderCache::Init();
GeometryShaderCache::Init();
D3D::InitUtils();
BBox::Init();
}
void VideoBackend::Shutdown()

View file

@ -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()