rm steamvr workaround for local-floor reference space;

This commit is contained in:
bjorn 2024-02-09 21:17:11 -08:00
parent 7b39a30600
commit 41deb706ce
1 changed files with 0 additions and 6 deletions

View File

@ -301,12 +301,6 @@ static void createReferenceSpace(XrTime time) {
return;
}
char name[256];
if (openxr_getDriverName(name, sizeof(name)) && !memcmp(name, "SteamVR", strlen("SteamVR"))) {
state.referenceSpace = state.spaces[DEVICE_FLOOR];
return;
}
if (state.features.localFloor) {
info.referenceSpaceType = XR_REFERENCE_SPACE_TYPE_LOCAL_FLOOR_EXT;
} else if (state.config.seated) {