|
|
@@ -4741,11 +4741,12 @@ BGFX_C_API void bgfx_vertex_decl_add(bgfx_vertex_decl_t* _decl, bgfx_attrib_t _a
|
|
|
);
|
|
|
}
|
|
|
|
|
|
-BGFX_C_API void bgfx_vertex_decl_decode(const bgfx_vertex_decl_t* _decl, bgfx_attrib_t _attrib, uint8_t *_num, bgfx_attrib_type_t *_type, bool *_normalized, bool *_asInt)
|
|
|
+BGFX_C_API void bgfx_vertex_decl_decode(const bgfx_vertex_decl_t* _decl, bgfx_attrib_t _attrib, uint8_t* _num, bgfx_attrib_type_t* _type, bool* _normalized, bool* _asInt)
|
|
|
{
|
|
|
bgfx::AttribType::Enum type;
|
|
|
const bgfx::VertexDecl* decl = (const bgfx::VertexDecl*)_decl;
|
|
|
- decl->decode(bgfx::Attrib::Enum(_attrib)
|
|
|
+ decl->decode(
|
|
|
+ bgfx::Attrib::Enum(_attrib)
|
|
|
, *_num
|
|
|
, type
|
|
|
, *_normalized
|
|
|
@@ -5803,6 +5804,8 @@ BGFX_C_API bgfx_interface_vtbl_t* bgfx_get_interface(uint32_t _version)
|
|
|
BGFX_IMPORT_FUNC(override_internal_texture) \
|
|
|
BGFX_IMPORT_FUNC(vertex_decl_begin) \
|
|
|
BGFX_IMPORT_FUNC(vertex_decl_add) \
|
|
|
+ BGFX_IMPORT_FUNC(vertex_decl_decode) \
|
|
|
+ BGFX_IMPORT_FUNC(vertex_decl_has) \
|
|
|
BGFX_IMPORT_FUNC(vertex_decl_skip) \
|
|
|
BGFX_IMPORT_FUNC(vertex_decl_end) \
|
|
|
BGFX_IMPORT_FUNC(vertex_pack) \
|