|
|
@@ -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];
|