Implement lists sharing
This commit is contained in:
parent
9668878f26
commit
4c0413bc7c
6 changed files with 55 additions and 21 deletions
|
|
@ -39,9 +39,13 @@ impl MonitorID {
|
|||
}
|
||||
|
||||
impl Window {
|
||||
pub fn new(_builder: WindowBuilder) -> Result<Window, CreationError> {
|
||||
pub fn new(builder: WindowBuilder) -> Result<Window, CreationError> {
|
||||
use std::{mem, ptr};
|
||||
|
||||
if builder.sharing.is_some() {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
let native_window = unsafe { android_glue::get_native_window() };
|
||||
if native_window.is_null() {
|
||||
return Err(OsError(format!("Android's native window is null")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue