diff options
Diffstat (limited to 'src/osx/headless.rs')
-rw-r--r-- | src/osx/headless.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osx/headless.rs b/src/osx/headless.rs index ab3c341..3981058 100644 --- a/src/osx/headless.rs +++ b/src/osx/headless.rs @@ -97,6 +97,10 @@ impl HeadlessContext { }; symbol as *const () } + + pub fn get_api(&self) -> ::Api { + ::Api::OpenGl + } } unsafe impl Send for HeadlessContext {} |