mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Initialize buffers
This commit is contained in:
parent
92e26169f6
commit
e6664d9441
1 changed files with 2 additions and 3 deletions
|
@ -422,8 +422,8 @@ protected:
|
|||
ActivationCache _attributeActivation;
|
||||
|
||||
typedef std::bitset<MAX_NUM_INPUT_BUFFERS> BuffersState;
|
||||
BuffersState _invalidBuffers;
|
||||
BuffersState _attribBindingBuffers;
|
||||
BuffersState _invalidBuffers{ 0 };
|
||||
BuffersState _attribBindingBuffers{ 0 };
|
||||
|
||||
Buffers _buffers;
|
||||
Offsets _bufferOffsets;
|
||||
|
@ -447,7 +447,6 @@ protected:
|
|||
_format(0),
|
||||
_formatKey(),
|
||||
_attributeActivation(0),
|
||||
_invalidBuffers(0),
|
||||
_buffers(_invalidBuffers.size(), BufferPointer(0)),
|
||||
_bufferOffsets(_invalidBuffers.size(), 0),
|
||||
_bufferStrides(_invalidBuffers.size(), 0),
|
||||
|
|
Loading…
Reference in a new issue