diff options
author | Tim Neumann <mail@timnn.me> | 2015-09-21 18:57:35 +0200 |
---|---|---|
committer | Tim Neumann <mail@timnn.me> | 2015-09-21 18:57:35 +0200 |
commit | 9f6806ba2e698a5163484004cad829b37e0d71dd (patch) | |
tree | 27f94e8c2158572fb79ebf998d1e98b049ba6ade /src/lib.rs | |
parent | 1b28e32e3130f58db62da6d6f6fa5e7c31043798 (diff) | |
download | glutin-9f6806ba2e698a5163484004cad829b37e0d71dd.tar.gz glutin-9f6806ba2e698a5163484004cad829b37e0d71dd.zip |
make glutin compile on all iOS targets
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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, } |