mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-16 11:50:19 -05:00
Fixed compile error.
This commit is contained in:
parent
133c0f05db
commit
def008725c
1 changed files with 1 additions and 1 deletions
|
@ -1917,7 +1917,7 @@ namespace bgfx
|
||||||
float m_z;
|
float m_z;
|
||||||
uint32_t m_abgr;
|
uint32_t m_abgr;
|
||||||
} * vertex = (Vertex*)m_vb->data;
|
} * vertex = (Vertex*)m_vb->data;
|
||||||
BX_CHECK(vertexDecl.m_stride == sizeof(Vertex), "Stride/Vertex mismatch (stride %d, sizeof(Vertex) %d)", stride, sizeof(Vertex) );
|
BX_CHECK(vertexDecl.m_stride == sizeof(Vertex), "Stride/Vertex mismatch (stride %d, sizeof(Vertex) %d)", vertexDecl.m_stride, sizeof(Vertex) );
|
||||||
|
|
||||||
const uint32_t abgr = bx::endianSwap(_clear.m_rgba);
|
const uint32_t abgr = bx::endianSwap(_clear.m_rgba);
|
||||||
const float depth = _clear.m_depth;
|
const float depth = _clear.m_depth;
|
||||||
|
|
Loading…
Reference in a new issue