mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-12 14:46:24 +00:00
CIndexBuffer: Make constructor explicit
Prevents implicit constructions.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user