From b176ad42c12da60d4937527379dfc6aa75a191e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 1 Jun 2014 13:26:57 -0700 Subject: [PATCH] Fixed type. --- include/bgfx.c99.h | 2 +- src/bgfx.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bgfx.c99.h b/include/bgfx.c99.h index 9d17b909..b8e0cfc7 100644 --- a/include/bgfx.c99.h +++ b/include/bgfx.c99.h @@ -398,7 +398,7 @@ BGFX_C_API void bgfx_vertex_decl_end(bgfx_vertex_decl_t* _decl); /** * 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. diff --git a/src/bgfx.cpp b/src/bgfx.cpp index ddea86da..0fd5ee57 100644 --- a/src/bgfx.cpp +++ b/src/bgfx.cpp @@ -2650,7 +2650,7 @@ BGFX_C_API void bgfx_vertex_decl_end(bgfx_vertex_decl_t* _decl) 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::vertexPack(_input, _inputNormalized, bgfx::Attrib::Enum(_attr), decl, _data, _index);