mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-24 16:48:18 -05:00
Fixed Android warnings.
This commit is contained in:
parent
b226afd391
commit
4e9b7baaf8
1 changed files with 2 additions and 1 deletions
3
3rdparty/ocornut-imgui/imgui.cpp
vendored
3
3rdparty/ocornut-imgui/imgui.cpp
vendored
|
@ -8453,7 +8453,8 @@ void ImFontAtlas::RenderCustomTexData(int pass, void* p_rects)
|
|||
ImVector<stbrp_rect>& rects = *(ImVector<stbrp_rect>*)p_rects;
|
||||
if (pass == 0)
|
||||
{
|
||||
stbrp_rect r = {};
|
||||
stbrp_rect r;
|
||||
memset(&r, 0, sizeof(r));
|
||||
r.w = (TEX_DATA_W*2)+1;
|
||||
r.h = TEX_DATA_H+1;
|
||||
rects.push_back(r);
|
||||
|
|
Loading…
Reference in a new issue