diff --git a/src/win32/mod.rs b/src/win32/mod.rs index d8425d26..78d9e968 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); } } }