mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Make sure window is fully opaque by default
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user