|
|
@@ -3448,10 +3448,10 @@ error:
|
|
|
return s_ctx->createDynamicIndexBuffer(_mem, _flags);
|
|
|
}
|
|
|
|
|
|
- void updateDynamicIndexBuffer(DynamicIndexBufferHandle _handle, uint32_t _startIndex, const Memory* _mem)
|
|
|
+ void update(DynamicIndexBufferHandle _handle, uint32_t _startIndex, const Memory* _mem)
|
|
|
{
|
|
|
BX_CHECK(NULL != _mem, "_mem can't be NULL");
|
|
|
- s_ctx->updateDynamicIndexBuffer(_handle, _startIndex, _mem);
|
|
|
+ s_ctx->update(_handle, _startIndex, _mem);
|
|
|
}
|
|
|
|
|
|
void destroy(DynamicIndexBufferHandle _handle)
|
|
|
@@ -3472,10 +3472,10 @@ error:
|
|
|
return s_ctx->createDynamicVertexBuffer(_mem, _decl, _flags);
|
|
|
}
|
|
|
|
|
|
- void updateDynamicVertexBuffer(DynamicVertexBufferHandle _handle, uint32_t _startVertex, const Memory* _mem)
|
|
|
+ void update(DynamicVertexBufferHandle _handle, uint32_t _startVertex, const Memory* _mem)
|
|
|
{
|
|
|
BX_CHECK(NULL != _mem, "_mem can't be NULL");
|
|
|
- s_ctx->updateDynamicVertexBuffer(_handle, _startVertex, _mem);
|
|
|
+ s_ctx->update(_handle, _startVertex, _mem);
|
|
|
}
|
|
|
|
|
|
void destroy(DynamicVertexBufferHandle _handle)
|
|
|
@@ -4947,7 +4947,7 @@ BGFX_C_API bgfx_dynamic_index_buffer_handle_t bgfx_create_dynamic_index_buffer_m
|
|
|
BGFX_C_API void bgfx_update_dynamic_index_buffer(bgfx_dynamic_index_buffer_handle_t _handle, uint32_t _startIndex, const bgfx_memory_t* _mem)
|
|
|
{
|
|
|
union { bgfx_dynamic_index_buffer_handle_t c; bgfx::DynamicIndexBufferHandle cpp; } handle = { _handle };
|
|
|
- bgfx::updateDynamicIndexBuffer(handle.cpp, _startIndex, (const bgfx::Memory*)_mem);
|
|
|
+ bgfx::update(handle.cpp, _startIndex, (const bgfx::Memory*)_mem);
|
|
|
}
|
|
|
|
|
|
BGFX_C_API void bgfx_destroy_dynamic_index_buffer(bgfx_dynamic_index_buffer_handle_t _handle)
|
|
|
@@ -4975,7 +4975,7 @@ BGFX_C_API bgfx_dynamic_vertex_buffer_handle_t bgfx_create_dynamic_vertex_buffer
|
|
|
BGFX_C_API void bgfx_update_dynamic_vertex_buffer(bgfx_dynamic_vertex_buffer_handle_t _handle, uint32_t _startVertex, const bgfx_memory_t* _mem)
|
|
|
{
|
|
|
union { bgfx_dynamic_vertex_buffer_handle_t c; bgfx::DynamicVertexBufferHandle cpp; } handle = { _handle };
|
|
|
- bgfx::updateDynamicVertexBuffer(handle.cpp, _startVertex, (const bgfx::Memory*)_mem);
|
|
|
+ bgfx::update(handle.cpp, _startVertex, (const bgfx::Memory*)_mem);
|
|
|
}
|
|
|
|
|
|
BGFX_C_API void bgfx_destroy_dynamic_vertex_buffer(bgfx_dynamic_vertex_buffer_handle_t _handle)
|