aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32/mod.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-10-31 17:46:16 +0100
committertomaka <pierre.krieger1708@gmail.com>2014-10-31 17:46:16 +0100
commita908a14adc90dd6c421468e2651fcc024a83bf10 (patch)
tree347d3cab575e556156ca4398740504da14bfe143 /src/win32/mod.rs
parent2c029f3fa3c0cfb687876c06de48ff340f9efd6a (diff)
parentbbcb4c8beab5de681f2f19ba30160e6b5ead3a32 (diff)
downloadglutin-a908a14adc90dd6c421468e2651fcc024a83bf10.tar.gz
glutin-a908a14adc90dd6c421468e2651fcc024a83bf10.zip
Merge pull request #90 from tomaka/remove-glflush
Remove call to glFlush() before swap_buffers on win32
Diffstat (limited to 'src/win32/mod.rs')
-rw-r--r--src/win32/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs
index 3cfdc7e..35e7169 100644
--- a/src/win32/mod.rs
+++ b/src/win32/mod.rs
@@ -228,9 +228,6 @@ impl Window {
/// See the docs in the crate root file.
pub fn swap_buffers(&self) {
unsafe {
- // calling glFlush is necessary on Windows 8
- ffi::glFlush();
-
ffi::SwapBuffers(self.hdc);
}
}