mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Silent clang warnings.
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user