File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- /// ! Based on https://github.com/Ralith/openxrs/blob/master/openxr/examples/hello.rs
1+ //! Based on https://github.com/Ralith/openxrs/blob/master/openxr/examples/hello.rs
22use openxr as xr;
33
44#[ cfg( target_os = "android" ) ]
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ impl App {
245245 . build ( Some ( raw_window_handle) ) ;
246246 unsafe {
247247 glutin_display
248- . create_context ( & config, & context_attributes)
248+ . create_context ( config, & context_attributes)
249249 . unwrap_or_else ( |_| {
250250 glutin_display
251251 . create_context ( config, & fallback_context_attributes)
@@ -268,7 +268,7 @@ impl App {
268268 }
269269
270270 fn ensure_surface_and_context < T > ( & mut self , event_loop : & EventLoopWindowTarget < T > ) {
271- let window = winit:: window:: Window :: new ( & event_loop) . unwrap ( ) ;
271+ let window = winit:: window:: Window :: new ( event_loop) . unwrap ( ) ;
272272 let raw_window_handle = window. raw_window_handle ( ) ;
273273
274274 // Lazily initialize, egl, wgl, glx etc
You can’t perform that action at this time.
0 commit comments