mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
Update assert API to latest bx.
This commit is contained in:
@@ -5313,7 +5313,7 @@ namespace bgfx { namespace gl
|
||||
}
|
||||
|
||||
UniformType::Enum type = convertGlType(gltype);
|
||||
m_constantBuffer->writeUniformHandle(type, 0, info->m_handle, uint16_t(num) );
|
||||
m_constantBuffer->writeUniformHandle(bx::narrowCast<uint8_t>(type), 0, info->m_handle, uint16_t(num) );
|
||||
m_constantBuffer->write(loc);
|
||||
BX_TRACE("store %s %d", name, info->m_handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user