aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTim Neumann <mail@timnn.me>2015-09-21 18:57:35 +0200
committerTim Neumann <mail@timnn.me>2015-09-21 18:57:35 +0200
commit9f6806ba2e698a5163484004cad829b37e0d71dd (patch)
tree27f94e8c2158572fb79ebf998d1e98b049ba6ade /src/lib.rs
parent1b28e32e3130f58db62da6d6f6fa5e7c31043798 (diff)
downloadglutin-9f6806ba2e698a5163484004cad829b37e0d71dd.tar.gz
glutin-9f6806ba2e698a5163484004cad829b37e0d71dd.zip
make glutin compile on all iOS targets
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a75a47a..0d0e6ef 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -362,7 +362,7 @@ pub struct PixelFormat {
pub multisampling: Option<u16>,
pub srgb: bool,
}
-
+
/// VERY UNSTABLE! Describes how the backend should choose a pixel format.
#[derive(Clone, Debug)]
#[allow(missing_docs)]
@@ -526,7 +526,8 @@ pub struct WindowAttributes {
/// The default is `true`.
pub decorations: bool,
- /// ??? TODO: document me
+ /// [iOS only] Enable multitouch, see [UIView#multipleTouchEnabled]
+ /// (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/#//apple_ref/occ/instp/UIView/multipleTouchEnabled)
pub multitouch: bool,
}