mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 03:47:07 -05:00
Cleanup.
This commit is contained in:
parent
ed306efa73
commit
d2a3bb257d
1 changed files with 8 additions and 1 deletions
|
@ -350,7 +350,8 @@ namespace entry
|
|||
, XNClientWindow
|
||||
, m_window[0]
|
||||
, NULL
|
||||
);
|
||||
);printf("x0\n");
|
||||
|
||||
|
||||
//
|
||||
bgfx::x11SetDisplayWindow(m_display, m_window[0]);
|
||||
|
@ -478,6 +479,9 @@ namespace entry
|
|||
m_eventQueue.postCharEvent(handle, len, utf8);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -510,6 +514,9 @@ namespace entry
|
|||
|
||||
s_joystick.shutdown();
|
||||
|
||||
XDestroyIC(ic);
|
||||
XCloseIM(im);
|
||||
|
||||
XUnmapWindow(m_display, m_window[0]);
|
||||
XDestroyWindow(m_display, m_window[0]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue