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
2
2
use openxr as xr;
3
3
4
4
#[ cfg( target_os = "android" ) ]
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ impl App {
245
245
. build ( Some ( raw_window_handle) ) ;
246
246
unsafe {
247
247
glutin_display
248
- . create_context ( & config, & context_attributes)
248
+ . create_context ( config, & context_attributes)
249
249
. unwrap_or_else ( |_| {
250
250
glutin_display
251
251
. create_context ( config, & fallback_context_attributes)
@@ -268,7 +268,7 @@ impl App {
268
268
}
269
269
270
270
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 ( ) ;
272
272
let raw_window_handle = window. raw_window_handle ( ) ;
273
273
274
274
// Lazily initialize, egl, wgl, glx etc
You can’t perform that action at this time.
0 commit comments