diff --git a/examples/directx11_example/main.cpp b/examples/directx11_example/main.cpp index 8563f072f..c5d1eead1 100644 --- a/examples/directx11_example/main.cpp +++ b/examples/directx11_example/main.cpp @@ -550,7 +550,7 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE, LPWSTR, int) bool show_test_window = true; bool show_another_window = false; - ImVec4 clear_col(0.8f, 0.6f, 0.6f, 1.0f); + ImVec4 clear_col = ImColor(114, 144, 154); // Enter the message loop MSG msg; diff --git a/examples/directx9_example/main.cpp b/examples/directx9_example/main.cpp index 98ab9d282..1c5e630ee 100644 --- a/examples/directx9_example/main.cpp +++ b/examples/directx9_example/main.cpp @@ -310,7 +310,7 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE, LPWSTR, int) bool show_test_window = true; bool show_another_window = false; - ImVec4 clear_col(0.8f, 0.6f, 0.6f, 1.0f); + ImVec4 clear_col = ImColor(114, 144, 154); // Enter the message loop MSG msg; diff --git a/examples/opengl3_example/main.cpp b/examples/opengl3_example/main.cpp index e56f105bb..8ee8c8cbb 100644 --- a/examples/opengl3_example/main.cpp +++ b/examples/opengl3_example/main.cpp @@ -327,7 +327,7 @@ int main(int argc, char** argv) bool show_test_window = true; bool show_another_window = false; - ImVec4 clear_col(0.8f, 0.6f, 0.6f, 1.0f); + ImVec4 clear_col = ImColor(114, 144, 154); while (!glfwWindowShouldClose(window)) { diff --git a/examples/opengl_example/main.cpp b/examples/opengl_example/main.cpp index fbce41c65..e589981f0 100644 --- a/examples/opengl_example/main.cpp +++ b/examples/opengl_example/main.cpp @@ -237,7 +237,7 @@ int main(int argc, char** argv) bool show_test_window = true; bool show_another_window = false; - ImVec4 clear_col(0.8f, 0.6f, 0.6f, 1.0f); + ImVec4 clear_col = ImColor(114, 144, 154); while (!glfwWindowShouldClose(window)) {