Fixed: warning: missing field 'w' initializer [-Wmissing-field-initializers]

This commit is contained in:
Branimir Karadžić 2015-04-16 14:39:04 -07:00
parent 64db50ba46
commit d24474ea82

View File

@ -8451,7 +8451,7 @@ void ImFontAtlas::RenderCustomTexData(int pass, void* p_rects)
ImVector<stbrp_rect>& rects = *(ImVector<stbrp_rect>*)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);