aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform/android
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-05-04 10:40:25 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-05-04 10:40:25 +0200
commit01007dbfd4b5f98a03b660e9c76f1d01fb78cd22 (patch)
tree82698fd27ad9bcc48b384f54fea172cf683cee78 /src/platform/android
parentf0309cb16588da65268fdfe959ad70fe28702054 (diff)
parentace4808facf085c4ccd068d33b9ab9f018e9072e (diff)
downloadglutin-01007dbfd4b5f98a03b660e9c76f1d01fb78cd22.tar.gz
glutin-01007dbfd4b5f98a03b660e9c76f1d01fb78cd22.zip
Merge pull request #423 from tomaka/remove-headless
Remove the "headless" feature
Diffstat (limited to 'src/platform/android')
-rw-r--r--src/platform/android/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/platform/android/mod.rs b/src/platform/android/mod.rs
index 082608f..a1b9416 100644
--- a/src/platform/android/mod.rs
+++ b/src/platform/android/mod.rs
@@ -2,10 +2,8 @@
pub use api::android::*;
-#[cfg(feature = "headless")]
pub struct HeadlessContext(i32);
-#[cfg(feature = "headless")]
impl HeadlessContext {
/// See the docs in the crate root file.
pub fn new(_builder: BuilderAttribs) -> Result<HeadlessContext, CreationError> {
@@ -32,7 +30,5 @@ impl HeadlessContext {
}
}
-#[cfg(feature = "headless")]
unsafe impl Send for HeadlessContext {}
-#[cfg(feature = "headless")]
unsafe impl Sync for HeadlessContext {}