We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b46b017 commit 8dfef83Copy full SHA for 8dfef83
examples/common/imgui/imgui.cpp
@@ -139,7 +139,7 @@ struct OcornutImguiContext
139
bgfx::TextureHandle th = m_texture;
140
bgfx::ProgramHandle program = m_program;
141
142
- if (NULL != cmd->TextureId)
+ if (ImU64(0) != cmd->TextureId)
143
{
144
union { ImTextureID ptr; struct { bgfx::TextureHandle handle; uint8_t flags; uint8_t mip; } s; } texture = { cmd->TextureId };
145
0 commit comments