aboutsummaryrefslogtreecommitdiffstats
path: root/src/osx/headless.rs
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2014-12-29 22:56:15 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2014-12-30 08:20:50 +0100
commitb9a6366f96e14e396452da443b64a10ee480fabf (patch)
tree0b23538cd302d3bd42c6784a74b0c8df882a74dc /src/osx/headless.rs
parent29bf3385add5ee9306452fe605984838ecfaa1a5 (diff)
downloadglutin-b9a6366f96e14e396452da443b64a10ee480fabf.tar.gz
glutin-b9a6366f96e14e396452da443b64a10ee480fabf.zip
Update for changes in Send/Sync traits
Diffstat (limited to 'src/osx/headless.rs')
-rw-r--r--src/osx/headless.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osx/headless.rs b/src/osx/headless.rs
index bbe3d9f..1332cf3 100644
--- a/src/osx/headless.rs
+++ b/src/osx/headless.rs
@@ -99,6 +99,9 @@ impl HeadlessContext {
}
}
+unsafe impl Send for HeadlessContext {}
+unsafe impl Sync for HeadlessContext {}
+
impl Drop for HeadlessContext {
fn drop(&mut self) {
unsafe {