Silent clang warnings.

This commit is contained in:
Бранимир Караџић 2024-11-13 13:07:34 -08:00
parent b46b0171a0
commit 8dfef838fc

View File

@ -139,7 +139,7 @@ struct OcornutImguiContext
bgfx::TextureHandle th = m_texture; bgfx::TextureHandle th = m_texture;
bgfx::ProgramHandle program = m_program; bgfx::ProgramHandle program = m_program;
if (NULL != cmd->TextureId) if (ImU64(0) != cmd->TextureId)
{ {
union { ImTextureID ptr; struct { bgfx::TextureHandle handle; uint8_t flags; uint8_t mip; } s; } texture = { cmd->TextureId }; union { ImTextureID ptr; struct { bgfx::TextureHandle handle; uint8_t flags; uint8_t mip; } s; } texture = { cmd->TextureId };