Fix uninitialized memory use in GLDrawList
GLDrawList::init() used MDI_INDEXED which checks base_index_.
This commit is contained in:
parent
c195c061d5
commit
caf1643f4a
|
@ -68,6 +68,7 @@ GLDrawList::GLDrawList(int length)
|
|||
batch_ = nullptr;
|
||||
buffer_id_ = 0;
|
||||
command_len_ = 0;
|
||||
base_index_ = 0;
|
||||
command_offset_ = 0;
|
||||
data_size_ = 0;
|
||||
data_ = nullptr;
|
||||
|
|
Loading…
Reference in New Issue