From 66454018768b1c3c8eaf566d41b3bc5676447a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 16 Jul 2015 20:38:22 -0700 Subject: [PATCH] Cleanup. --- examples/common/imgui/ocornut_imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/imgui/ocornut_imgui.cpp b/examples/common/imgui/ocornut_imgui.cpp index 6d1fa6b9..d47d4b6c 100644 --- a/examples/common/imgui/ocornut_imgui.cpp +++ b/examples/common/imgui/ocornut_imgui.cpp @@ -86,7 +86,7 @@ struct OcornutImguiContext , uint16_t(bx::fmin(pcmd->ClipRect.z, 65535.0f)-bx::fmax(pcmd->ClipRect.x, 0.0f)) , uint16_t(bx::fmin(pcmd->ClipRect.w, 65535.0f)-bx::fmax(pcmd->ClipRect.y, 0.0f)) ); - union { void* ptr; bgfx::TextureHandle handle; } texture ={ pcmd->TextureId }; + union { void* ptr; bgfx::TextureHandle handle; } texture = { pcmd->TextureId }; bgfx::setTexture(0, s_tex, 0 != texture.handle.idx ? texture.handle