mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-09-11 04:58:19 +00:00
Fixed stremMask check. (#3682)
This commit is contained in:
committed by
GitHub
parent
e528e9d880
commit
50bf41b224
@@ -4601,7 +4601,7 @@ namespace bgfx { namespace d3d12
|
||||
uint8_t numStreams = 0;
|
||||
_outNumVertices = _draw.m_numVertices;
|
||||
|
||||
if (UINT8_MAX != _draw.m_streamMask)
|
||||
if (UINT32_MAX != _draw.m_streamMask)
|
||||
{
|
||||
for (BitMaskToIndexIteratorT it(_draw.m_streamMask)
|
||||
; !it.isDone()
|
||||
@@ -7457,7 +7457,7 @@ namespace bgfx { namespace d3d12
|
||||
const VertexLayout* layouts[BGFX_CONFIG_MAX_VERTEX_STREAMS];
|
||||
|
||||
uint8_t numStreams = 0;
|
||||
if (UINT8_MAX != draw.m_streamMask)
|
||||
if (UINT32_MAX != draw.m_streamMask)
|
||||
{
|
||||
for (BitMaskToIndexIteratorT it(draw.m_streamMask)
|
||||
; !it.isDone()
|
||||
|
||||
Reference in New Issue
Block a user