Add an interface for providing system wide initialization options to the windowing system.

This allows setting up Linux based systems which use multithreaded OpenGL contexts.
This commit is contained in:
Glenn Watson 2014-10-24 14:49:07 +10:00
parent d8ca679a6e
commit 97c471dc05
4 changed files with 18 additions and 0 deletions

View file

@ -1410,6 +1410,7 @@ extern "C" {
pub fn XMoveWindow(display: *mut Display, w: Window, x: libc::c_int, y: libc::c_int);
pub fn XMapWindow(display: *mut Display, w: Window);
pub fn XNextEvent(display: *mut Display, event_return: *mut XEvent);
pub fn XInitThreads() -> Status;
pub fn XOpenDisplay(display_name: *const libc::c_char) -> *mut Display;
pub fn XPeekEvent(display: *mut Display, event_return: *mut XEvent);
pub fn XRefreshKeyboardMapping(event_map: *const XEvent);