Backends: Metal: Ignore ImDrawCmd where ElemCount == 0. (#4857)

This commit is contained in:
ocornut
2022-01-03 22:14:19 +01:00
parent b0a6cd6305
commit efa50f72a7
2 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,8 @@ Other Changes:
It would generally not have noticeable side-effect at runtime but would be detected by runtime checkers.
- Backends: Metal: Added Apple Metal C++ API support. (#4824, #4746) [@luigifcruz]
Enable with '#define IMGUI_IMPL_METAL_CPP' in your imconfig.h file.
- Backends: Metal: Ignore ImDrawCmd where ElemCount == 0, which are normally not emitted by the library but
can theorically be created by user code manipulating a ImDrawList. (#4857)
-----------------------------------------------------------------------