mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -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);
|
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
|
// Calculate native scale factor for hidpi displays
|
||||||
{
|
{
|
||||||
float xScale = 0, yScale = 0;
|
float xScale = 0, yScale = 0;
|
||||||
|
|||||||
@@ -845,6 +845,9 @@ namespace hex {
|
|||||||
std::abort();
|
std::abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Force window to be fully opaque by default
|
||||||
|
glfwSetWindowOpacity(this->m_window, 1.0F);
|
||||||
|
|
||||||
glfwMakeContextCurrent(this->m_window);
|
glfwMakeContextCurrent(this->m_window);
|
||||||
glfwSwapInterval(1);
|
glfwSwapInterval(1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user