From 0c78fe80733a49f1246d41d63394d9609b4c5ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 21 May 2015 17:58:21 -0700 Subject: [PATCH] Cleanup. --- src/bgfx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bgfx.cpp b/src/bgfx.cpp index 4970df5c..638c843a 100644 --- a/src/bgfx.cpp +++ b/src/bgfx.cpp @@ -1049,10 +1049,10 @@ namespace bgfx } m_render->destroy(); -#else - s_ctx = NULL; #endif // BGFX_CONFIG_MULTITHREADED + s_ctx = NULL; + m_submit->destroy(); if (BX_ENABLED(BGFX_CONFIG_DEBUG) )