aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32/ffi.rs
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-08-12 21:21:06 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-08-12 21:21:06 +0200
commitcd3fc3075a43dbde326720964e29aa28c6be4a17 (patch)
tree0539659b1cccd863a6d8bfbc3e80b8b20d75ed3f /src/win32/ffi.rs
parent32e9b5062c2646211dbe63a826e6cd2eb9b990f8 (diff)
downloadglutin-cd3fc3075a43dbde326720964e29aa28c6be4a17.tar.gz
glutin-cd3fc3075a43dbde326720964e29aa28c6be4a17.zip
Fix #22
Thanks to @Anthiste
Diffstat (limited to 'src/win32/ffi.rs')
-rw-r--r--src/win32/ffi.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/win32/ffi.rs b/src/win32/ffi.rs
index 3ff0982..4480155 100644
--- a/src/win32/ffi.rs
+++ b/src/win32/ffi.rs
@@ -718,6 +718,9 @@ extern "system" {
// http://msdn.microsoft.com/en-us/library/windows/desktop/ms633519(v=vs.85).aspx
pub fn GetWindowRect(hWnd: HWND, lpRect: *mut RECT) -> BOOL;
+ //
+ pub fn glFlush();
+
//
pub fn glViewport(x: libc::c_int, y: libc::c_int, w: libc::c_int, h: libc::c_int);