|
@@ -2163,7 +2163,7 @@ again:
|
|
|
s_ctx->destroyDynamicIndexBuffer(_handle);
|
|
s_ctx->destroyDynamicIndexBuffer(_handle);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- DynamicVertexBufferHandle createDynamicVertexBuffer(uint16_t _num, const VertexDecl& _decl, uint8_t _flags)
|
|
|
|
|
|
|
+ DynamicVertexBufferHandle createDynamicVertexBuffer(uint32_t _num, const VertexDecl& _decl, uint8_t _flags)
|
|
|
{
|
|
{
|
|
|
BGFX_CHECK_MAIN_THREAD();
|
|
BGFX_CHECK_MAIN_THREAD();
|
|
|
BX_CHECK(0 != _decl.m_stride, "Invalid VertexDecl.");
|
|
BX_CHECK(0 != _decl.m_stride, "Invalid VertexDecl.");
|
|
@@ -2239,7 +2239,7 @@ again:
|
|
|
return s_ctx->allocTransientVertexBuffer(_tvb, _num, _decl);
|
|
return s_ctx->allocTransientVertexBuffer(_tvb, _num, _decl);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- bool allocTransientBuffers(bgfx::TransientVertexBuffer* _tvb, const bgfx::VertexDecl& _decl, uint16_t _numVertices, bgfx::TransientIndexBuffer* _tib, uint16_t _numIndices)
|
|
|
|
|
|
|
+ bool allocTransientBuffers(bgfx::TransientVertexBuffer* _tvb, const bgfx::VertexDecl& _decl, uint32_t _numVertices, bgfx::TransientIndexBuffer* _tib, uint32_t _numIndices)
|
|
|
{
|
|
{
|
|
|
if (checkAvailTransientBuffers(_numVertices, _decl, _numIndices) )
|
|
if (checkAvailTransientBuffers(_numVertices, _decl, _numIndices) )
|
|
|
{
|
|
{
|