Branimir Karadžić 8 年之前
父節點
當前提交
96a1d0859b
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/bgfx_p.h

+ 5 - 5
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];