CIndexBuffer: Make constructor explicit

Prevents implicit constructions.
This commit is contained in:
Lioncash 2020-06-12 16:41:45 -04:00
parent ece0aec27a
commit 721c4d8121
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class CIndexBuffer
public:
CIndexBuffer();
CIndexBuffer(GLenum Type);
explicit CIndexBuffer(GLenum Type);
~CIndexBuffer();
void AddIndex(uint16 Index);
void AddIndices(uint16 *pIndices, uint Count);