- model vertex buffer converted.
This commit is contained in:
parent
5201501534
commit
cd8c7a17eb
5 changed files with 50 additions and 95 deletions
|
|
@ -276,7 +276,7 @@ void FGLRenderState::ApplyBuffers()
|
|||
}
|
||||
if (mIndexBuffer != mCurrentIndexBuffer)
|
||||
{
|
||||
static_cast<GLIndexBuffer*>(mIndexBuffer)->Bind();
|
||||
if (mIndexBuffer) static_cast<GLIndexBuffer*>(mIndexBuffer)->Bind();
|
||||
mCurrentIndexBuffer = mIndexBuffer;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue