aboutsummaryrefslogtreecommitdiffstats
path: root/src/cocoa
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/cocoa
parent70d36a3d3d6afba3e89faf4d3979118f9c076fe9 (diff)
downloadglutin-1e94d85d35eca41e2e54ed4880d62ec7473105f0.tar.gz
glutin-1e94d85d35eca41e2e54ed4880d62ec7473105f0.zip
Adds get_pixel_format() to Window
Diffstat (limited to 'src/cocoa')
-rw-r--r--src/cocoa/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cocoa/mod.rs b/src/cocoa/mod.rs
index 6b97964..101bd6c 100644
--- a/src/cocoa/mod.rs
+++ b/src/cocoa/mod.rs
@@ -8,6 +8,7 @@ use libc;
use Api;
use BuilderAttribs;
use GlRequest;
+use PixelFormat;
use native_monitor::NativeMonitorId;
use objc::runtime::{Class, Object, Sel, BOOL, YES, NO};
@@ -616,6 +617,10 @@ impl Window {
::Api::OpenGl
}
+ pub fn get_pixel_format(&self) -> PixelFormat {
+ unimplemented!();
+ }
+
pub fn set_window_resize_callback(&mut self, callback: Option<fn(u32, u32)>) {
self.delegate.state.resize_handler = callback;
}