mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-25 02:24:24 +00:00
ImDrawList::AddText() takes a const ImFont*
This commit is contained in:
parent
4e245f0bfb
commit
ed0f0dbe87
2 changed files with 2 additions and 2 deletions
|
|
@ -7516,7 +7516,7 @@ void ImDrawList::AddCircleFilled(const ImVec2& centre, float radius, ImU32 col,
|
|||
}
|
||||
}
|
||||
|
||||
void ImDrawList::AddText(ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec2* cpu_clip_max)
|
||||
void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec2* cpu_clip_max)
|
||||
{
|
||||
if ((col >> 24) == 0)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue