mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
Fix android build
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user