mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed type.
This commit is contained in:
parent
97090e826c
commit
b176ad42c1
2 changed files with 2 additions and 2 deletions
|
@ -398,7 +398,7 @@ BGFX_C_API void bgfx_vertex_decl_end(bgfx_vertex_decl_t* _decl);
|
||||||
/**
|
/**
|
||||||
* Pack vec4 into vertex stream format.
|
* Pack vec4 into vertex stream format.
|
||||||
*/
|
*/
|
||||||
BGFX_C_API void bgfx_vertex_pack(const float _input[4], bool _inputNormalized, bgfx_attrib_t _attr, const bgfx_vertex_decl* _decl, void* _data, uint32_t _index);
|
BGFX_C_API void bgfx_vertex_pack(const float _input[4], bool _inputNormalized, bgfx_attrib_t _attr, const bgfx_vertex_decl_t* _decl, void* _data, uint32_t _index);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unpack vec4 from vertex stream format.
|
* Unpack vec4 from vertex stream format.
|
||||||
|
|
|
@ -2650,7 +2650,7 @@ BGFX_C_API void bgfx_vertex_decl_end(bgfx_vertex_decl_t* _decl)
|
||||||
decl->end();
|
decl->end();
|
||||||
}
|
}
|
||||||
|
|
||||||
BGFX_C_API void bgfx_vertex_pack(const float _input[4], bool _inputNormalized, bgfx_attrib_t _attr, const bgfx_vertex_decl* _decl, void* _data, uint32_t _index)
|
BGFX_C_API void bgfx_vertex_pack(const float _input[4], bool _inputNormalized, bgfx_attrib_t _attr, const bgfx_vertex_decl_t* _decl, void* _data, uint32_t _index)
|
||||||
{
|
{
|
||||||
bgfx::VertexDecl& decl = *(bgfx::VertexDecl*)_decl;
|
bgfx::VertexDecl& decl = *(bgfx::VertexDecl*)_decl;
|
||||||
bgfx::vertexPack(_input, _inputNormalized, bgfx::Attrib::Enum(_attr), decl, _data, _index);
|
bgfx::vertexPack(_input, _inputNormalized, bgfx::Attrib::Enum(_attr), decl, _data, _index);
|
||||||
|
|
Loading…
Reference in a new issue