mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
Adds get_pixel_format() to Window
This commit is contained in:
@@ -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)>) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user