diff --git a/main/gui/source/init/splash_window.cpp b/main/gui/source/init/splash_window.cpp index 1e8a3b975..562841096 100644 --- a/main/gui/source/init/splash_window.cpp +++ b/main/gui/source/init/splash_window.cpp @@ -346,6 +346,9 @@ namespace hex::init { std::exit(EXIT_FAILURE); } + // Force window to be fully opaque by default + glfwSetWindowOpacity(this->m_window, 1.0F); + // Calculate native scale factor for hidpi displays { float xScale = 0, yScale = 0; diff --git a/main/gui/source/window/window.cpp b/main/gui/source/window/window.cpp index 16d2ad9a2..86efc7c32 100644 --- a/main/gui/source/window/window.cpp +++ b/main/gui/source/window/window.cpp @@ -845,6 +845,9 @@ namespace hex { std::abort(); } + // Force window to be fully opaque by default + glfwSetWindowOpacity(this->m_window, 1.0F); + glfwMakeContextCurrent(this->m_window); glfwSwapInterval(1);