mirror of https://github.com/bkaradzic/bgfx
Fixed compile warning.
This commit is contained in:
parent
d65ce46ca0
commit
4a6c2b286c
|
@ -1502,7 +1502,7 @@ namespace bgfx
|
|||
, BGFX_CONFIG_MAX_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)
|
||||
|
|
Loading…
Reference in New Issue