From 1e94d85d35eca41e2e54ed4880d62ec7473105f0 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sat, 11 Apr 2015 09:06:08 +0200 Subject: Adds get_pixel_format() to Window --- src/x11/window/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/x11') diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs index d58b2d2..db24312 100644 --- a/src/x11/window/mod.rs +++ b/src/x11/window/mod.rs @@ -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) { } -- cgit v1.2.3