aboutsummaryrefslogtreecommitdiffstats
path: root/src/cocoa/headless.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cocoa/headless.rs')
-rw-r--r--src/cocoa/headless.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cocoa/headless.rs b/src/cocoa/headless.rs
index fb91a0a..298027f 100644
--- a/src/cocoa/headless.rs
+++ b/src/cocoa/headless.rs
@@ -76,6 +76,10 @@ impl HeadlessContext {
}
}
+ pub fn is_current(&self) -> bool {
+ unimplemented!()
+ }
+
pub fn get_proc_address(&self, _addr: &str) -> *const () {
let symbol_name: CFString = _addr.parse().unwrap();
let framework_name: CFString = "com.apple.opengl".parse().unwrap();