aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wayland
diff options
context:
space:
mode:
authorAceeri <conmcclusk@gmail.com>2015-11-09 03:29:26 -0800
committerAceeri <conmcclusk@gmail.com>2015-11-09 03:29:26 -0800
commit2be3c142f0778a3588982572a997dc669adca2a6 (patch)
tree14ba6c02c04d5bcc24f85a48d7edb999745965ef /src/api/wayland
parent9a05577df8f3e616de94635ef41e0d8601f3091c (diff)
downloadglutin-2be3c142f0778a3588982572a997dc669adca2a6.tar.gz
glutin-2be3c142f0778a3588982572a997dc669adca2a6.zip
Fixed wrong variable binding for WindowAttributes on asserts
Diffstat (limited to 'src/api/wayland')
-rw-r--r--src/api/wayland/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/wayland/mod.rs b/src/api/wayland/mod.rs
index 8084516..ab71ffa 100644
--- a/src/api/wayland/mod.rs
+++ b/src/api/wayland/mod.rs
@@ -258,8 +258,8 @@ impl Window {
use self::wayland::internals::FFI;
// not implemented
- assert!(win_attribs.min_dimensions.is_none());
- assert!(win_attribs.max_dimensions.is_none());
+ assert!(window.min_dimensions.is_none());
+ assert!(window.max_dimensions.is_none());
let wayland_context = match *WAYLAND_CONTEXT {
Some(ref c) => c,