CStaticModel: Make use of nullptr

This commit is contained in:
Lioncash 2020-06-22 02:16:27 -04:00
parent 4b3af988ad
commit 2732ae8383
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}