mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
Remove some unused imports
This commit is contained in:
parent
f3e0c57158
commit
ce052484f7
|
@ -1,8 +1,6 @@
|
||||||
extern crate android_glue;
|
extern crate android_glue;
|
||||||
extern crate native;
|
extern crate native;
|
||||||
|
|
||||||
use libc;
|
|
||||||
use self::native::NativeTaskBuilder;
|
|
||||||
use {Event, WindowBuilder};
|
use {Event, WindowBuilder};
|
||||||
|
|
||||||
pub struct Window {
|
pub struct Window {
|
||||||
|
@ -38,7 +36,6 @@ impl MonitorID {
|
||||||
impl Window {
|
impl Window {
|
||||||
pub fn new(_builder: WindowBuilder) -> Result<Window, String> {
|
pub fn new(_builder: WindowBuilder) -> Result<Window, String> {
|
||||||
use std::{mem, ptr};
|
use std::{mem, ptr};
|
||||||
use std::task::TaskBuilder;
|
|
||||||
|
|
||||||
let native_window = unsafe { android_glue::get_native_window() };
|
let native_window = unsafe { android_glue::get_native_window() };
|
||||||
if native_window.is_null() {
|
if native_window.is_null() {
|
||||||
|
|
Loading…
Reference in a new issue