From bbcb4c8beab5de681f2f19ba30160e6b5ead3a32 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Wed, 29 Oct 2014 19:00:32 +0100 Subject: Remove call to glFlush() before swap_buffers We may not want to call `swap_buffers` in the same thread as the current thread, so we're moving the call to `glFlush` out of the scope of glutin. --- src/win32/ffi.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/win32/ffi.rs') diff --git a/src/win32/ffi.rs b/src/win32/ffi.rs index 71f8d55..1d8156d 100644 --- a/src/win32/ffi.rs +++ b/src/win32/ffi.rs @@ -720,9 +720,6 @@ 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(); - // http://msdn.microsoft.com/en-us/library/windows/desktop/ms684175(v=vs.85).aspx pub fn LoadLibraryW(lpFileName: LPCWSTR) -> HMODULE; -- cgit v1.2.3