CIndexBuffer: Make constructor explicit
Prevents implicit constructions.
This commit is contained in:
parent
ece0aec27a
commit
721c4d8121
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue