diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 1b173e8..11847dc 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -1566,7 +1566,7 @@ // Start packing const int max_tex_height = 1024*32; - stbtt_pack_context spc; + stbtt_pack_context spc = {}; stbtt_PackBegin(&spc, NULL, atlas->TexWidth, max_tex_height, 0, atlas->TexGlyphPadding, NULL); stbtt_PackSetOversampling(&spc, 1, 1);