Skip to content

Commit 8dfef83

Browse files
committed
Silent clang warnings.
1 parent b46b017 commit 8dfef83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/common/imgui/imgui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ struct OcornutImguiContext
139139
bgfx::TextureHandle th = m_texture;
140140
bgfx::ProgramHandle program = m_program;
141141

142-
if (NULL != cmd->TextureId)
142+
if (ImU64(0) != cmd->TextureId)
143143
{
144144
union { ImTextureID ptr; struct { bgfx::TextureHandle handle; uint8_t flags; uint8_t mip; } s; } texture = { cmd->TextureId };
145145

0 commit comments

Comments
 (0)