mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-17 20:13:41 +00:00
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…
x
Reference in New Issue
Block a user