mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed compile warning.
This commit is contained in:
parent
d65ce46ca0
commit
4a6c2b286c
1 changed files with 1 additions and 1 deletions
|
@ -1502,7 +1502,7 @@ namespace bgfx
|
||||||
, BGFX_CONFIG_MAX_MATRIX_CACHE
|
, BGFX_CONFIG_MAX_MATRIX_CACHE
|
||||||
);
|
);
|
||||||
m_draw.m_matrix = _cache;
|
m_draw.m_matrix = _cache;
|
||||||
m_draw.m_num = bx::uint32_min(_cache+_num, BGFX_CONFIG_MAX_MATRIX_CACHE-1) - _cache;
|
m_draw.m_num = uint16_t(bx::uint32_min(_cache+_num, BGFX_CONFIG_MAX_MATRIX_CACHE-1) - _cache);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setIndexBuffer(IndexBufferHandle _handle, uint32_t _firstIndex, uint32_t _numIndices)
|
void setIndexBuffer(IndexBufferHandle _handle, uint32_t _firstIndex, uint32_t _numIndices)
|
||||||
|
|
Loading…
Reference in a new issue