Adds get_pixel_format() to Window
This commit is contained in:
parent
70d36a3d3d
commit
1e94d85d35
6 changed files with 34 additions and 3 deletions
|
|
@ -12,6 +12,7 @@ use std::sync::{Arc, Mutex, Once, ONCE_INIT};
|
|||
use Api;
|
||||
use CursorState;
|
||||
use GlRequest;
|
||||
use PixelFormat;
|
||||
|
||||
pub use self::monitor::{MonitorID, get_available_monitors, get_primary_monitor};
|
||||
|
||||
|
|
@ -732,6 +733,10 @@ impl Window {
|
|||
::Api::OpenGl
|
||||
}
|
||||
|
||||
pub fn get_pixel_format(&self) -> PixelFormat {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub fn set_window_resize_callback(&mut self, _: Option<fn(u32, u32)>) {
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue