From 96a1d0859baa1cb89ca1cb06fc08fd3be9a4989c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 11 Oct 2017 09:16:59 -0700 Subject: [PATCH] Cleanup. --- src/bgfx_p.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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];