expose platform-native monitor identifier
This commit is contained in:
parent
0fa5e541e8
commit
9914d826b8
6 changed files with 43 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ use std::collections::VecDeque;
|
|||
use Api;
|
||||
use BuilderAttribs;
|
||||
use GlRequest;
|
||||
use NativeMonitorID;
|
||||
|
||||
pub struct Window {
|
||||
display: ffi::egl::types::EGLDisplay,
|
||||
|
|
@ -41,6 +42,10 @@ impl MonitorID {
|
|||
Some("Primary".to_string())
|
||||
}
|
||||
|
||||
pub fn get_native_identifier(&self) -> NativeMonitorID {
|
||||
NativeMonitorID::Unavailable
|
||||
}
|
||||
|
||||
pub fn get_dimensions(&self) -> (u32, u32) {
|
||||
unimplemented!()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue