mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-21 10:49:23 +00:00
Upgraded to VS2015 64-bit compiler
This commit is contained in:
@@ -75,7 +75,7 @@ void CIndexBuffer::DrawElements()
|
||||
void CIndexBuffer::DrawElements(u32 Offset, u32 Size)
|
||||
{
|
||||
Bind();
|
||||
glDrawElements(mPrimitiveType, Size, GL_UNSIGNED_SHORT, (void*) (Offset * 2));
|
||||
glDrawElements(mPrimitiveType, Size, GL_UNSIGNED_SHORT, (char*)0 + (Offset * 2));
|
||||
Unbind();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user