summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
authorGravatarGravatar MooglyGuy <therealmogminer@gmail.com>2019-10-23 20:42:08 +0200
committerGravatarGravatar MooglyGuy <therealmogminer@gmail.com>2019-10-23 20:42:22 +0200
commit3d4bd27551010b1d33a02e5e7473f07f58e4b03c (patch)
treec213903e7feb815d1419b2e03273c27f3369db1e /src/osd
parent29321e1a974a73816e0d41cab633a30550547a41 (diff)
-bgfx: Uncomment D3D12 backend detection, as it apparently no longer crashes on exit on Win7, nw
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/render/drawbgfx.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/osd/modules/render/drawbgfx.cpp b/src/osd/modules/render/drawbgfx.cpp
index 7b1f3c923de..9372956d54b 100644
--- a/src/osd/modules/render/drawbgfx.cpp
+++ b/src/osd/modules/render/drawbgfx.cpp
@@ -278,11 +278,10 @@ int renderer_bgfx::create()
{
init.type = bgfx::RendererType::Direct3D11;
}
-// Throws exception on exit
-// else if (backend == "dx12" || backend == "d3d12")
-// {
-// init.type = bgfx::RendererType::Direct3D12;
-// }
+ else if (backend == "dx12" || backend == "d3d12")
+ {
+ init.type = bgfx::RendererType::Direct3D12;
+ }
else if (backend == "gles")
{
init.type = bgfx::RendererType::OpenGLES;