Examples: Avoid using ImColor() to not tempt newcomers into looking at it

This commit is contained in:
omar
2017-09-27 15:47:08 +02:00
parent e56eba44fe
commit 842e88a8e3
10 changed files with 16 additions and 16 deletions

View File

@ -664,7 +664,7 @@ int main(int, char**)
bool show_test_window = true;
bool show_another_window = false;
ImVec4 clear_color = ImColor(114, 144, 154);
ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f);
// When IMGUI_UNLIMITED_FRAME_RATE is defined we render into latest image acquired from the swapchain but we display the image which was rendered before.
// Hence we must render once and increase the g_FrameIndex without presenting, which we do before entering the render loop.