mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Fixed: warning: missing field 'w' initializer [-Wmissing-field-initializers]
This commit is contained in:
parent
64db50ba46
commit
d24474ea82
@ -8451,7 +8451,7 @@ void ImFontAtlas::RenderCustomTexData(int pass, void* p_rects)
|
|||||||
ImVector<stbrp_rect>& rects = *(ImVector<stbrp_rect>*)p_rects;
|
ImVector<stbrp_rect>& rects = *(ImVector<stbrp_rect>*)p_rects;
|
||||||
if (pass == 0)
|
if (pass == 0)
|
||||||
{
|
{
|
||||||
stbrp_rect r = { 0 };
|
stbrp_rect r = {};
|
||||||
r.w = (TEX_DATA_W*2)+1;
|
r.w = (TEX_DATA_W*2)+1;
|
||||||
r.h = TEX_DATA_H+1;
|
r.h = TEX_DATA_H+1;
|
||||||
rects.push_back(r);
|
rects.push_back(r);
|
||||||
|
Loading…
Reference in New Issue
Block a user