diff options
author | 2022-01-26 13:54:21 +0700 | |
---|---|---|
committer | 2022-01-26 13:54:21 +0700 | |
commit | 9b3cab82ef3bbc5b8129ac3bacec4011229f0fbc (patch) | |
tree | bc9fbd32c8c589bc56d2458bb77bc8293ba8a6bd /examples/integration_opengl/src/main.rs | |
parent | 4aa943cbc63230dfcb995c469ceec9f74e6132e1 (diff) | |
parent | 522368e8af6947ea0676f62bf1ae5f68acb2058d (diff) | |
download | iced-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 'examples/integration_opengl/src/main.rs')
-rw-r--r-- | examples/integration_opengl/src/main.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/integration_opengl/src/main.rs b/examples/integration_opengl/src/main.rs index 551aba67..1007b90f 100644 --- a/examples/integration_opengl/src/main.rs +++ b/examples/integration_opengl/src/main.rs @@ -4,16 +4,15 @@ mod scene; use controls::Controls; use scene::Scene; -use glow; use glow::*; +use glutin::dpi::PhysicalPosition; +use glutin::event::{Event, ModifiersState, WindowEvent}; +use glutin::event_loop::ControlFlow; +use iced_glow::glow; use iced_glow::{Backend, Renderer, Settings, Viewport}; +use iced_glutin::conversion; use iced_glutin::glutin; -use iced_glutin::glutin::event::{Event, WindowEvent}; -use iced_glutin::glutin::event_loop::ControlFlow; use iced_glutin::{program, Clipboard, Debug, Size}; -use iced_winit::conversion; -use iced_winit::winit; -use winit::{dpi::PhysicalPosition, event::ModifiersState}; pub fn main() { env_logger::init(); |