should fix build

This commit is contained in:
Baoulettes 2022-05-29 18:40:21 +02:00
commit 0953e0ca83

View file

@ -112,9 +112,9 @@ namespace SohImGui {
return fmin(fmax(value,min),max);
}
void Tooltip(std::string text) {
void Tooltip(const char* text) {
if (ImGui::IsItemHovered())
ImGui::SetTooltip("%s", text.c_str());
ImGui::SetTooltip("%s", text);
}
void ImGuiWMInit() {