diff options
author | 2015-11-01 20:30:24 +0100 | |
---|---|---|
committer | 2015-11-01 20:30:24 +0100 | |
commit | 5664971d3bf57ad7e1a7a3138f788f714c0d7d74 (patch) | |
tree | f64fdaa35a890c4c7052f5fd173b3d0d3668a4ed /3rdparty/bgfx/examples/common/entry/entry_x11.cpp | |
parent | 99c12e17c40fecb16e1ef0dc2fae0d45a86def59 (diff) |
update to latest BGFX and BX
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(); |