removed unused workaround

This commit is contained in:
Schmarni
2023-11-17 00:06:55 +01:00
parent 2d4d7f5c7f
commit 4fae7f4e7c
3 changed files with 4 additions and 17 deletions

View File

@@ -22,7 +22,6 @@ pub fn initialize_xr_graphics(
window: Option<RawHandleWrapper>,
// Horrible hack to get the Handtacking extension Loaded, Replace with good system to load
// any extension at some point
enable_hand_tracking: bool,
) -> anyhow::Result<(
RenderDevice,
RenderQueue,
@@ -42,7 +41,6 @@ pub fn initialize_xr_graphics(
XrFrameState,
// Horrible hack to get the Handtacking extension Loaded, Replace with good system to load
// any extension at some point
bool,
)> {
use wgpu_hal::{api::Vulkan as V, Api};
@@ -413,7 +411,6 @@ pub fn initialize_xr_graphics(
.into(),
// Horrible hack to get the Handtacking extension Loaded, Replace with good system to load
// any extension at some point
available_extensions.ext_hand_tracking && enable_hand_tracking,
))
}