summaryrefslogtreecommitdiffstats
path: root/winit
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-01-26 13:54:21 +0700
committerLibravatar GitHub <noreply@github.com>2022-01-26 13:54:21 +0700
commit9b3cab82ef3bbc5b8129ac3bacec4011229f0fbc (patch)
treebc9fbd32c8c589bc56d2458bb77bc8293ba8a6bd /winit
parent4aa943cbc63230dfcb995c469ceec9f74e6132e1 (diff)
parent522368e8af6947ea0676f62bf1ae5f68acb2058d (diff)
downloadiced-9b3cab82ef3bbc5b8129ac3bacec4011229f0fbc.tar.gz
iced-9b3cab82ef3bbc5b8129ac3bacec4011229f0fbc.tar.bz2
iced-9b3cab82ef3bbc5b8129ac3bacec4011229f0fbc.zip
Merge pull request #1160 from derezzedex/dev/arm-support
feat: add support to ARM devices (and older hardware)
Diffstat (limited to '')
-rw-r--r--winit/src/settings.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/winit/src/settings.rs b/winit/src/settings.rs
index 045cb156..9a93824a 100644
--- a/winit/src/settings.rs
+++ b/winit/src/settings.rs
@@ -38,6 +38,12 @@ pub struct Settings<Flags> {
/// Whether the [`Application`] should exit when the user requests the
/// window to close (e.g. the user presses the close button).
pub exit_on_close_request: bool,
+
+ /// Whether the [`Application`] should try to build the context
+ /// using OpenGL ES first then OpenGL.
+ ///
+ /// NOTE: Only works for the `glow` backend.
+ pub try_opengles_first: bool,
}
/// The window settings of an application.