CIndexBuffer: Make constructor explicit
Prevents implicit constructions.
This commit is contained in:
parent
ece0aec27a
commit
721c4d8121
|
@ -14,7 +14,7 @@ class CIndexBuffer
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CIndexBuffer();
|
CIndexBuffer();
|
||||||
CIndexBuffer(GLenum Type);
|
explicit CIndexBuffer(GLenum Type);
|
||||||
~CIndexBuffer();
|
~CIndexBuffer();
|
||||||
void AddIndex(uint16 Index);
|
void AddIndex(uint16 Index);
|
||||||
void AddIndices(uint16 *pIndices, uint Count);
|
void AddIndices(uint16 *pIndices, uint Count);
|
||||||
|
|
Loading…
Reference in New Issue