mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
-bgfx: Don't try to invoke a frame immediately after resetting the renderer during tear-down. Fixes crash on exit with the d3d12 backend. [Ryan Holtz]
This commit is contained in:
parent
9cc98f0b62
commit
520e5aea0d
@ -108,8 +108,8 @@ renderer_bgfx::renderer_bgfx(std::shared_ptr<osd_window> w)
|
||||
renderer_bgfx::~renderer_bgfx()
|
||||
{
|
||||
bgfx::reset(0, 0, BGFX_RESET_NONE);
|
||||
bgfx::touch(0);
|
||||
bgfx::frame();
|
||||
//bgfx::touch(0);
|
||||
//bgfx::frame();
|
||||
if (m_avi_writer != nullptr && m_avi_writer->recording())
|
||||
{
|
||||
m_avi_writer->stop();
|
||||
|
Loading…
Reference in New Issue
Block a user