mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-12 00:14:20 +00:00
Fixed: warning: missing field 'w' initializer [-Wmissing-field-initializers]
This commit is contained in:
parent
64db50ba46
commit
d24474ea82
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue