summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D12/main.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2016-06-27 12:45:00 +0200
committerLéo Lam <leo@innovatetechnologi.es>2016-06-27 12:45:00 +0200
commit1b71249562d001f509bf20cc831f685b7d2edf25 (patch)
treea0e0c605be30d50a1cf3c48879be954088900805 /Source/Core/VideoBackends/D3D12/main.cpp
parentcf2c5e276c80882a0dbd17c503172226547a4021 (diff)
D3D: Fix crash on start with BBox enabled
Someone removed the BBox::Init(), causing crashes when BBox is enabled. Fixes issue #9643.
Diffstat (limited to 'Source/Core/VideoBackends/D3D12/main.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D12/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/D3D12/main.cpp b/Source/Core/VideoBackends/D3D12/main.cpp
index a593220c56..023a72f116 100644
--- a/Source/Core/VideoBackends/D3D12/main.cpp
+++ b/Source/Core/VideoBackends/D3D12/main.cpp
@@ -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()