aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/window
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-04-11 09:06:08 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-04-11 09:06:08 +0200
commit1e94d85d35eca41e2e54ed4880d62ec7473105f0 (patch)
tree9c167b145bf57b8eb37d4c7e79a8c305773fdb5e /src/x11/window
parent70d36a3d3d6afba3e89faf4d3979118f9c076fe9 (diff)
downloadglutin-1e94d85d35eca41e2e54ed4880d62ec7473105f0.tar.gz
glutin-1e94d85d35eca41e2e54ed4880d62ec7473105f0.zip
Adds get_pixel_format() to Window
Diffstat (limited to 'src/x11/window')
-rw-r--r--src/x11/window/mod.rs5
1 files changed, 5 insertions, 0 deletions
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<fn(u32, u32)>) {
}