Call glViewport on windows init for win32

See #14
This commit is contained in:
Tomaka17 2014-08-07 18:48:27 +02:00
parent da5e372719
commit 61781cf209
2 changed files with 16 additions and 2 deletions

View file

@ -717,6 +717,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 glViewport(x: libc::c_int, y: libc::c_int, w: libc::c_int, h: libc::c_int);
// http://msdn.microsoft.com/en-us/library/windows/desktop/ms684175(v=vs.85).aspx
pub fn LoadLibraryW(lpFileName: LPCWSTR) -> HMODULE;