mirror of https://github.com/axmolengine/axmol.git
add init value for flag
This commit is contained in:
parent
e7e94ffe70
commit
be4bcf7c36
|
@ -112,7 +112,7 @@ VertexData::~VertexData()
|
|||
|
||||
void VertexData::use()
|
||||
{
|
||||
uint32_t flags;
|
||||
uint32_t flags(0);
|
||||
for(auto& element : _vertexStreams)
|
||||
{
|
||||
flags = flags | (1 << element.second._stream._semantic);
|
||||
|
|
Loading…
Reference in New Issue