diff options
Diffstat (limited to '3rdparty/bgfx/examples/common/entry/entry_x11.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/common/entry/entry_x11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/bgfx/examples/common/entry/entry_x11.cpp b/3rdparty/bgfx/examples/common/entry/entry_x11.cpp index 16b7af4ffa1..9dd0919cb14 100644 --- a/3rdparty/bgfx/examples/common/entry/entry_x11.cpp +++ b/3rdparty/bgfx/examples/common/entry/entry_x11.cpp @@ -316,7 +316,7 @@ namespace entry m_window[0] = XCreateWindow(m_display , m_root , 0, 0 - , ENTRY_DEFAULT_WIDTH, ENTRY_DEFAULT_HEIGHT, 0 + , 1, 1, 0 , m_depth , InputOutput , m_visual @@ -362,7 +362,7 @@ namespace entry thread.init(mte.threadFunc, &mte); WindowHandle defaultWindow = { 0 }; - m_eventQueue.postSizeEvent(defaultWindow, ENTRY_DEFAULT_WIDTH, ENTRY_DEFAULT_HEIGHT); + m_eventQueue.postSizeEvent(defaultWindow, 1, 1); s_joystick.init(); |