Skip to content

Commit

Permalink
Silent clang warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Nov 13, 2024
1 parent b46b017 commit 8dfef83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/common/imgui/imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ struct OcornutImguiContext
bgfx::TextureHandle th = m_texture;
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 };

Expand Down

0 comments on commit 8dfef83

Please sign in to comment.