Skip to content

Commit

Permalink
Fix wrong extension check
Browse files Browse the repository at this point in the history
  • Loading branch information
zarik5 committed Sep 16, 2024
1 parent e87c118 commit 920e884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openxr/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ impl Instance {

#[inline]
pub fn supports_hand_tracking(&self, system: SystemId) -> Result<bool> {
if self.exts().ext_hand_interaction.is_none() {
if self.exts().ext_hand_tracking.is_none() {
return Err(sys::Result::ERROR_EXTENSION_NOT_PRESENT);
}
unsafe {
Expand Down

0 comments on commit 920e884

Please sign in to comment.