Handle errors from MakeCurrent and SwapBuffers
This commit is contained in:
parent
e48c853b9c
commit
f6c26ec593
20 changed files with 123 additions and 62 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
pub use api::android::*;
|
||||
|
||||
use ContextError;
|
||||
|
||||
pub struct HeadlessContext(i32);
|
||||
|
||||
impl HeadlessContext {
|
||||
|
|
@ -11,7 +13,7 @@ impl HeadlessContext {
|
|||
}
|
||||
|
||||
/// See the docs in the crate root file.
|
||||
pub unsafe fn make_current(&self) {
|
||||
pub unsafe fn make_current(&self) -> Result<(), ContextError> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue