diff options
Diffstat (limited to 'src/win32/init.rs')
-rw-r--r-- | src/win32/init.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/win32/init.rs b/src/win32/init.rs index 9b6ec81..365bcb8 100644 --- a/src/win32/init.rs +++ b/src/win32/init.rs @@ -349,14 +349,6 @@ pub fn new_window(builder: WindowBuilder) -> Result<Window, String> { is_closed: AtomicBool::new(false), }; - // calling glViewport - unsafe { - use libc; - let dimensions = window.get_inner_size().unwrap(); - ffi::glViewport(0, 0, dimensions.val0() as libc::c_int, - dimensions.val1() as libc::c_int); - } - // sending tx.send(Ok(window)); |