Merge pull request #3959 from leoetlino/d3d-bbox-fix

D3D: Fix crash on start with BBox enabled
This commit is contained in:
Markus Wick 2016-06-27 13:26:48 +02:00 committed by GitHub
commit a4f2f13c3d
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()