bkaradzic пре 12 година
родитељ
комит
d3005380d8
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/bgfx.cpp

+ 2 - 2
src/bgfx.cpp

@@ -48,12 +48,12 @@ namespace bgfx
 
 	void* TinyStlAllocator::static_allocate(size_t _bytes)
 	{
-		return BX_ALLOC(bgfx::g_allocator, _bytes);
+		return BX_ALLOC(g_allocator, _bytes);
 	}
 
 	void TinyStlAllocator::static_deallocate(void* _ptr, size_t /*_bytes*/)
 	{
-		BX_FREE(bgfx::g_allocator, _ptr);
+		BX_FREE(g_allocator, _ptr);
 	}
 
 	struct CallbackStub : public CallbackI