diff --git a/doc/changes/state_trackers/mr.740.md b/doc/changes/state_trackers/mr.740.md new file mode 100644 index 000000000..6af700fe9 --- /dev/null +++ b/doc/changes/state_trackers/mr.740.md @@ -0,0 +1 @@ +OpenXR: Unreal Engine 4 depth buffer quirk no longer needed. diff --git a/src/xrt/state_trackers/oxr/oxr_instance.c b/src/xrt/state_trackers/oxr/oxr_instance.c index 50abe2c66..088d498e6 100644 --- a/src/xrt/state_trackers/oxr/oxr_instance.c +++ b/src/xrt/state_trackers/oxr/oxr_instance.c @@ -160,12 +160,15 @@ detect_engine(struct oxr_logger *log, struct oxr_instance *inst, const XrInstanc static void apply_quirks(struct oxr_logger *log, struct oxr_instance *inst) { +#if 0 + // This is no longer needed. if (starts_with("UnrealEngine", inst->appinfo.detected.engine.name) && // inst->appinfo.detected.engine.major == 4 && // inst->appinfo.detected.engine.minor <= 27 && // inst->appinfo.detected.engine.patch <= 0) { inst->quirks.disable_vulkan_format_depth_stencil = true; } +#endif } XrResult