diff --git a/examples/common/entry/entry_sdl.cpp b/examples/common/entry/entry_sdl.cpp index eb0d98d73..1ff49264d 100644 --- a/examples/common/entry/entry_sdl.cpp +++ b/examples/common/entry/entry_sdl.cpp @@ -820,8 +820,8 @@ namespace entry void* nwh = sdlNativeWindowHandle(m_window[handle.idx]); if (NULL != nwh) { - m_eventQueue.postWindowEvent(handle, nwh); m_eventQueue.postSizeEvent(handle, msg->m_width, msg->m_height); + m_eventQueue.postWindowEvent(handle, nwh); } delete msg;