fix: Make sure window is fully opaque by default
This commit is contained in:
parent
94ad6e6072
commit
2fee380459
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user