CStaticModel: Make use of nullptr
This commit is contained in:
parent
4b3af988ad
commit
2732ae8383
|
@ -115,7 +115,7 @@ void CStaticModel::Draw(FRenderOptions Options)
|
|||
{
|
||||
CIndexBuffer *pIBO = &mIBOs[iIBO];
|
||||
pIBO->Bind();
|
||||
glDrawElements(pIBO->GetPrimitiveType(), pIBO->GetSize(), GL_UNSIGNED_SHORT, (void*) 0);
|
||||
glDrawElements(pIBO->GetPrimitiveType(), pIBO->GetSize(), GL_UNSIGNED_SHORT, nullptr);
|
||||
pIBO->Unbind();
|
||||
gDrawCount++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue