diff --git a/examples/47-pixelformats/pixelformats.cpp b/examples/47-pixelformats/pixelformats.cpp index 31abc208a..d04318149 100644 --- a/examples/47-pixelformats/pixelformats.cpp +++ b/examples/47-pixelformats/pixelformats.cpp @@ -375,7 +375,7 @@ public: ImGui::PopEnabled(); if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { - ImGui::SetTooltip("Texture format is emulated."); + ImGui::SetTooltip("Texture format is%s emulated.", emulated ? "" : " not"); } ImGui::SameLine(); @@ -385,7 +385,7 @@ public: ImGui::PopEnabled(); if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { - ImGui::SetTooltip("Texture format can be used as frame buffer."); + ImGui::SetTooltip("Texture format can%s be used as frame buffer.", framebuffer ? "" : "not"); } ImGui::SameLine(); @@ -395,7 +395,7 @@ public: ImGui::PopEnabled(); if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { - ImGui::SetTooltip("Texture can be sampled as MSAA."); + ImGui::SetTooltip("Texture can%s be sampled as MSAA.", msaa ? "" : "not"); } }