mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
android: Updated for rust fc2ba1393 2015-01-03
This commit is contained in:
parent
0937d809b5
commit
2b7e74d55a
|
@ -1,6 +1,7 @@
|
|||
extern crate android_glue;
|
||||
|
||||
use libc;
|
||||
use std::sync::mpsc::{Receiver, channel};
|
||||
use {CreationError, Event, WindowBuilder};
|
||||
use CreationError::OsError;
|
||||
use events::ElementState::{Pressed, Released};
|
||||
|
@ -23,8 +24,8 @@ pub struct MonitorID;
|
|||
mod ffi;
|
||||
|
||||
pub fn get_available_monitors() -> RingBuf <MonitorID> {
|
||||
let rb = RingBuf::new();
|
||||
rb.push_back(MonitorId);
|
||||
let mut rb = RingBuf::new();
|
||||
rb.push_back(MonitorID);
|
||||
rb
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue