From 4763828e6354a279facdb8a69f5f30bc904fbebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 20 Sep 2015 23:22:23 -0700 Subject: [PATCH] Cleanup. --- src/bgfx.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bgfx.cpp b/src/bgfx.cpp index 71d521b6..a5aa5e67 100644 --- a/src/bgfx.cpp +++ b/src/bgfx.cpp @@ -17,7 +17,7 @@ namespace bgfx #else # define BGFX_CHECK_MAIN_THREAD() # define BGFX_CHECK_RENDER_THREAD() -#endif // BGFX_CONFIG_MULTITHREADED && !BX_PLATFORM_OSX && !BX_PLATFORM_IOS +#endif // BGFX_CONFIG_MULTITHREADED #if BGFX_CONFIG_USE_TINYSTL void* TinyStlAllocator::static_allocate(size_t _bytes) @@ -1020,7 +1020,6 @@ namespace bgfx // should not be created. BX_TRACE("Application called bgfx::renderFrame directly, not creating render thread."); m_singleThreaded = true - && !BX_ENABLED(BX_PLATFORM_OSX || BX_PLATFORM_IOS) && ~BGFX_MAIN_THREAD_MAGIC == s_threadIndex ; }