diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2015-08-28 08:58:17 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-08-28 08:58:17 +1000 |
commit | 7d43ca32bb0f3c7bb97986934f0260155b4dfccf (patch) | |
tree | c18e1a894d09e2dc719743af79f117d54608877f /src/api/android | |
parent | 66317f5924ee72bae84ee15021a6f3cf780f8409 (diff) | |
download | glutin-7d43ca32bb0f3c7bb97986934f0260155b4dfccf.tar.gz glutin-7d43ca32bb0f3c7bb97986934f0260155b4dfccf.zip |
Fix android build
Diffstat (limited to 'src/api/android')
-rw-r--r-- | src/api/android/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/android/mod.rs b/src/api/android/mod.rs index 1b52cc0..0f770c2 100644 --- a/src/api/android/mod.rs +++ b/src/api/android/mod.rs @@ -257,7 +257,7 @@ impl HeadlessContext { pub fn new(builder: BuilderAttribs) -> Result<HeadlessContext, CreationError> { let context = try!(EglContext::new(egl::ffi::egl::Egl, &builder, egl::NativeDisplay::Android)); let context = try!(context.finish_pbuffer()); - Ok(context) + Ok(HeadlessContext(context)) } } |