mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
st/gui: Fix build without OpenCV
This commit is contained in:
parent
b2c987945e
commit
4fc8d3dbea
|
@ -391,10 +391,10 @@ scene_destroy(struct gui_scene *scene, struct gui_program *p)
|
|||
free(cs->settings);
|
||||
cs->settings = NULL;
|
||||
}
|
||||
|
||||
#ifdef XRT_HAVE_OPENCV
|
||||
// Free data, no longer needed.
|
||||
t_stereo_camera_calibration_reference(&cs->status.stereo_data, NULL);
|
||||
|
||||
#endif
|
||||
free(cs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue