diff --git a/src/bgfx_p.h b/src/bgfx_p.h index c6da01901..9d6b4748e 100644 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -139,11 +139,6 @@ namespace bgfx #if BGFX_CONFIG_USE_TINYSTL namespace bgfx { - inline bool isValid(const VertexDecl& _decl) - { - return 0 != _decl.m_stride; - } - struct TinyStlAllocator { static void* static_allocate(size_t _bytes); @@ -275,6 +270,11 @@ namespace bgfx return handle; } + inline bool isValid(const VertexDecl& _decl) + { + return 0 != _decl.m_stride; + } + struct Clear { uint8_t m_index[8];