Internals: removed last parameter to IsClippedEx() + fix PVS studio warnings.

This commit is contained in:
ocornut
2021-09-15 16:50:20 +02:00
parent 2d0a6a4969
commit 3973de7933
4 changed files with 13 additions and 13 deletions

View File

@ -205,7 +205,7 @@ void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags)
ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height));
while (line < text_end)
{
if (IsClippedEx(line_rect, 0, false))
if (IsClippedEx(line_rect, 0))
break;
const char* line_end = (const char*)memchr(line, '\n', text_end - line);