mirror of
https://github.com/mii443/rust-openvr.git
synced 2025-08-23 00:35:31 +00:00
Fixed testing example add minor functionality
This commit is contained in:
@ -103,6 +103,11 @@ impl<'a> Compositor<'a> {
|
||||
pub fn post_present_handoff(&self) {
|
||||
unsafe { (self.0.PostPresentHandoff.unwrap())() };
|
||||
}
|
||||
|
||||
/// Return whether the compositor is fullscreen.
|
||||
pub fn is_fullscreen(&self) -> bool {
|
||||
unsafe { (self.0.IsFullscreen.unwrap())() }
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
|
Reference in New Issue
Block a user