Remove WiVRn-reprojection code
This commit is contained in:
@@ -129,27 +129,3 @@ XrViewConfigurationView override_view(XrViewConfigurationView view, model m)
|
||||
}
|
||||
throw std::range_error("invalid model " + std::to_string((int)m));
|
||||
}
|
||||
|
||||
static bool use_runtime_reprojection_()
|
||||
{
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::oculus_quest:
|
||||
return false;
|
||||
case model::oculus_quest_2:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3:
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_xr_elite:
|
||||
case model::unknown:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
bool use_runtime_reprojection()
|
||||
{
|
||||
static bool r = use_runtime_reprojection_();
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user