st/oxr: Only advertise hand tracking funcs if compiled with ext

This commit is contained in:
Christoph Haag 2021-09-13 11:38:44 +02:00 committed by Jakob Bornecrantz
parent 2b7e8d8dce
commit fb6cf9b4cc

View file

@ -220,9 +220,11 @@ handle_non_null(struct oxr_instance *inst, struct oxr_logger *log, const char *n
ENTRY_IF_EXT(xrThermalGetTemperatureTrendEXT, EXT_thermal_query);
#endif // OXR_HAVE_EXT_thermal_query
#ifdef OXR_HAVE_EXT_hand_tracking
ENTRY_IF_EXT(xrCreateHandTrackerEXT, EXT_hand_tracking);
ENTRY_IF_EXT(xrDestroyHandTrackerEXT, EXT_hand_tracking);
ENTRY_IF_EXT(xrLocateHandJointsEXT, EXT_hand_tracking);
#endif
#if 0
#ifdef OXR_HAVE_EXT_debug_utils