aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform/android
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-05-04 07:32:02 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-05-04 07:48:42 +0200
commitace4808facf085c4ccd068d33b9ab9f018e9072e (patch)
tree85f3099d7fe7c8c3b5fe1d3d6d6fa90917cb1fe5 /src/platform/android
parente953e3d4ead7931bc32c49bcd9f4a637ef6d5fa7 (diff)
downloadglutin-ace4808facf085c4ccd068d33b9ab9f018e9072e.tar.gz
glutin-ace4808facf085c4ccd068d33b9ab9f018e9072e.zip
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 {}