Adds get_pixel_format() to Window
This commit is contained in:
parent
70d36a3d3d
commit
1e94d85d35
6 changed files with 34 additions and 3 deletions
|
|
@ -15,6 +15,7 @@ use Api;
|
|||
use BuilderAttribs;
|
||||
use CursorState;
|
||||
use GlRequest;
|
||||
use PixelFormat;
|
||||
use native_monitor::NativeMonitorId;
|
||||
|
||||
pub struct Window {
|
||||
|
|
@ -353,6 +354,10 @@ impl Window {
|
|||
::Api::OpenGlEs
|
||||
}
|
||||
|
||||
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