Fix android build
This commit is contained in:
parent
66317f5924
commit
7d43ca32bb
2 changed files with 112 additions and 98 deletions
|
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue