Add setting to try OpenGL ES first
This commit is contained in:
parent
46fb27b104
commit
230db88fb2
3 changed files with 34 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue