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

@ -44,7 +44,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);
// Main loop
while (!glfwWindowShouldClose(window))