mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Fixed build.
This commit is contained in:
parent
f36bfe2e4f
commit
0a13a94271
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ void VectorDisplay::endFrame()
|
|||
BX_CHECK(m_points.size() < MAX_NUMBER_VERTICES, "");
|
||||
|
||||
bgfx::updateDynamicVertexBuffer(m_vertexBuffers[m_currentDrawStep]
|
||||
, 0
|
||||
, bgfx::copy(m_points.data(), (uint32_t)m_points.size() * sizeof(point_t) )
|
||||
);
|
||||
m_vertexBuffersSize[m_currentDrawStep] = (uint32_t)m_points.size();
|
||||
|
|
Loading…
Reference in a new issue