Fix WindowImplX11 initialization
This commit is contained in:
parent
3b06972602
commit
2ea46c8702
@ -586,7 +586,7 @@ m_lastInputTime (0)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
windowPosition.x = (DisplayWidth(m_display, m_screen) - static_cast<int>(mode.width)) / 2;
|
windowPosition.x = (DisplayWidth(m_display, m_screen) - static_cast<int>(mode.width)) / 2;
|
||||||
windowPosition.y = (DisplayWidth(m_display, m_screen) - static_cast<int>(mode.height)) / 2;
|
windowPosition.y = (DisplayHeight(m_display, m_screen) - static_cast<int>(mode.height)) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int width = mode.width;
|
unsigned int width = mode.width;
|
||||||
|
Loading…
Reference in New Issue
Block a user