mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
Added vertex pack/unpack support.
This commit is contained in:
@@ -1045,7 +1045,8 @@ namespace bgfx
|
||||
uint8_t num;
|
||||
AttribType::Enum type;
|
||||
bool normalized;
|
||||
_decl.decode(Attrib::Enum(attr), num, type, normalized);
|
||||
bool asInt;
|
||||
_decl.decode(Attrib::Enum(attr), num, type, normalized, asInt);
|
||||
|
||||
memcpy(elem, &s_attrib[attr], sizeof(D3DVERTEXELEMENT9) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user