Adds get_pixel_format() to Window

This commit is contained in:
Pierre Krieger 2015-04-11 09:06:08 +02:00
parent 70d36a3d3d
commit 1e94d85d35
6 changed files with 34 additions and 3 deletions

View file

@ -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)>) {
}