diff options
-rw-r--r-- | src/win32/mod.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs index d8425d2..78d9e96 100644 --- a/src/win32/mod.rs +++ b/src/win32/mod.rs @@ -192,11 +192,7 @@ impl Window { pub fn swap_buffers(&self) { unsafe { ffi::glFlush(); - - if ffi::SwapBuffers(self.hdc) == 0 { - use std::os; - fail!("{}", os::error_string(os::errno())); - } + ffi::SwapBuffers(self.hdc); } } } |