From 9f6806ba2e698a5163484004cad829b37e0d71dd Mon Sep 17 00:00:00 2001 From: Tim Neumann Date: Mon, 21 Sep 2015 18:57:35 +0200 Subject: make glutin compile on all iOS targets --- src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') 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, 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, } -- cgit v1.2.3