From 655dd6f7d97b11cb96f99fefe614fdbb26c99d03 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Sun, 27 Jan 2013 22:43:11 -0800 Subject: [PATCH] Queue shutdown begin one frame earlier. --- src/bgfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bgfx.cpp b/src/bgfx.cpp index 0e4d455e7..20f9f6694 100755 --- a/src/bgfx.cpp +++ b/src/bgfx.cpp @@ -726,9 +726,9 @@ namespace bgfx { BX_TRACE("shutdown"); + getCommandBuffer(CommandBuffer::RendererShutdownBegin); frame(); - getCommandBuffer(CommandBuffer::RendererShutdownBegin); destroyTransientVertexBuffer(m_submit->m_transientVb); destroyTransientIndexBuffer(m_submit->m_transientIb); m_textVideoMemBlitter.shutdown();