diff --git a/imgui.cpp b/imgui.cpp index 98748f755..45fe9eef5 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -8451,7 +8451,7 @@ void ImFontAtlas::RenderCustomTexData(int pass, void* p_rects) ImVector& rects = *(ImVector*)p_rects; if (pass == 0) { - stbrp_rect r = { 0 }; + stbrp_rect r = {}; r.w = (TEX_DATA_W*2)+1; r.h = TEX_DATA_H+1; rects.push_back(r);