Fix uninitialized memory use in GLDrawList

GLDrawList::init() used MDI_INDEXED which checks base_index_.
This commit is contained in:
Campbell Barton 2021-04-30 12:31:52 +10:00
parent c195c061d5
commit caf1643f4a
1 changed files with 1 additions and 0 deletions

View File

@ -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;