diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-03-25 19:57:38 +0100 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-03-25 20:27:18 +0100 |
commit | cedc85c55032afca28fe9b4a1bd11499267f6009 (patch) | |
tree | ea7126ccb056d6b8da8e668abc75e924308e907a /src/win32/init.rs | |
parent | 63d2cd263ee3e68118213ae5b8ba1326fc3ee03e (diff) | |
download | glutin-cedc85c55032afca28fe9b4a1bd11499267f6009.tar.gz glutin-cedc85c55032afca28fe9b4a1bd11499267f6009.zip |
Rustup
Diffstat (limited to 'src/win32/init.rs')
-rw-r--r-- | src/win32/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/init.rs b/src/win32/init.rs index 8d2eb1e..5266ae4 100644 --- a/src/win32/init.rs +++ b/src/win32/init.rs @@ -235,7 +235,7 @@ unsafe fn init(title: Vec<u16>, builder: BuilderAttribs<'static>, // handling vsync if builder.vsync { if extra_functions.SwapIntervalEXT.is_loaded() { - let guard = try!(CurrentContextGuard::make_current(&real_window, &context)); + let _guard = try!(CurrentContextGuard::make_current(&real_window, &context)); if extra_functions.SwapIntervalEXT(1) == 0 { return Err(OsError(format!("wglSwapIntervalEXT failed"))); |