Fixed stremMask check. (#3682)

This commit is contained in:
Branimir Karadžić
2026-04-21 11:21:40 -07:00
committed by GitHub
parent e528e9d880
commit 50bf41b224
5 changed files with 6 additions and 6 deletions

View File

@@ -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()