Fixed static font buffer.

This commit is contained in:
Branimir Karadžić 2015-07-22 20:55:59 -07:00
parent 1fa85ccf27
commit 7cfb9db7ef

View file

@ -765,7 +765,7 @@ void TextBufferManager::submitTextBuffer(TextBufferHandle _handle, uint8_t _id,
}
bgfx::setVertexBuffer(vbh, 0, bc.textBuffer->getVertexCount() );
bgfx::setIndexBuffer(ibh, bc.textBuffer->getIndexCount() );
bgfx::setIndexBuffer(ibh, 0, bc.textBuffer->getIndexCount() );
}
break;