mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed clang warning.
This commit is contained in:
parent
3b73fb2063
commit
931d7f3196
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ uint32_t triangulate(uint8_t* _result, uint32_t _stride, const float* __restrict
|
|||
const int8_t* indices = s_indices[cubeindex];
|
||||
for (uint32_t ii = 0; indices[ii] != -1; ++ii)
|
||||
{
|
||||
const float* vertex = verts[indices[ii] ];
|
||||
const float* vertex = verts[uint8_t(indices[ii])];
|
||||
|
||||
float* xyz = (float*)_result;
|
||||
xyz[0] = _xyz[0] + vertex[0];
|
||||
|
|
Loading…
Reference in a new issue