From 3504987ab3194fb252abdf9b22f7d44761a617a6 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 1 Oct 2022 21:14:49 +0200 Subject: [PATCH] sys: Fix OpenGL clear color --- main/source/init/splash_window.cpp | 2 +- main/source/window/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/source/init/splash_window.cpp b/main/source/init/splash_window.cpp index 7c389bc2e..3fd8e6eec 100644 --- a/main/source/init/splash_window.cpp +++ b/main/source/init/splash_window.cpp @@ -126,7 +126,7 @@ namespace hex::init { int display_w, display_h; glfwGetFramebufferSize(this->m_window, &display_w, &display_h); glViewport(0, 0, display_w, display_h); - glClearColor(0, 0, 0, 0); + glClearColor(0.00F, 0.00F, 0.00F, 0.00F); glClear(GL_COLOR_BUFFER_BIT); ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData()); diff --git a/main/source/window/window.cpp b/main/source/window/window.cpp index 4aa597408..1bc14cc90 100644 --- a/main/source/window/window.cpp +++ b/main/source/window/window.cpp @@ -496,7 +496,7 @@ namespace hex { int displayWidth, displayHeight; glfwGetFramebufferSize(this->m_window, &displayWidth, &displayHeight); glViewport(0, 0, displayWidth, displayHeight); - glClearColor(0.45f, 0.55f, 0.60f, 1.00f); + glClearColor(0.00F, 0.00F, 0.00F, 1.00f); glClear(GL_COLOR_BUFFER_BIT); ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());