Add get_api() function
This commit is contained in:
parent
2320c2bc97
commit
c893e4faec
6 changed files with 52 additions and 0 deletions
|
|
@ -265,6 +265,10 @@ impl Window {
|
|||
pub fn platform_display(&self) -> *mut libc::c_void {
|
||||
self.display as *mut libc::c_void
|
||||
}
|
||||
|
||||
pub fn get_api(&self) -> ::Api {
|
||||
::Api::OpenGlEs
|
||||
}
|
||||
}
|
||||
|
||||
#[unsafe_destructor]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue