File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ unsafe impl HasRawDisplayHandle for Window {
156
156
SDL_SYSWM_WINDOWS | SDL_SYSWM_WINRT => {
157
157
use self :: raw_window_handle:: WindowsDisplayHandle ;
158
158
159
- let mut handle = WindowsDisplayHandle :: empty ( ) ;
159
+ let handle = WindowsDisplayHandle :: empty ( ) ;
160
160
161
161
RawDisplayHandle :: Windows ( handle)
162
162
}
@@ -200,17 +200,15 @@ unsafe impl HasRawDisplayHandle for Window {
200
200
SDL_SYSWM_UIKIT => {
201
201
use self :: raw_window_handle:: UiKitDisplayHandle ;
202
202
203
- let mut handle = UiKitDisplayHandle :: empty ( ) ;
203
+ let handle = UiKitDisplayHandle :: empty ( ) ;
204
204
205
205
RawDisplayHandle :: UiKit ( handle)
206
206
}
207
207
#[ cfg( any( target_os = "android" ) ) ]
208
208
SDL_SYSWM_ANDROID => {
209
209
use self :: raw_window_handle:: AndroidDisplayHandle ;
210
210
211
- let mut handle = AndroidDisplayHandle :: empty ( ) ;
212
- handle. a_native_window =
213
- unsafe { wm_info. info . android } . window as * mut libc:: c_void ;
211
+ let handle = AndroidDisplayHandle :: empty ( ) ;
214
212
215
213
RawDisplayHandle :: Android ( handle)
216
214
}
You can’t perform that action at this time.
0 commit comments