d/ohmd: Use new none distortion code

This commit is contained in:
Jakob Bornecrantz 2020-10-07 22:15:07 +01:00
parent 7baf90d3d8
commit 96046d1315

View file

@ -653,9 +653,7 @@ oh_device_create(ohmd_context *ctx,
}
if (info.quirks.video_distortion_none) {
ohd->base.hmd->distortion.models = XRT_DISTORTION_MODEL_NONE;
ohd->base.hmd->distortion.preferred = XRT_DISTORTION_MODEL_NONE;
ohd->base.compute_distortion = NULL;
u_distortion_mesh_set_none(&ohd->base);
}
if (info.quirks.left_center_pano_scale) {