st/oxr: Silence meaningless negotiate errors/warnings.

Loader just indiscriminately populates all function pointers.
This commit is contained in:
Ryan Pavlik 2019-09-24 14:11:57 -05:00 committed by Jakob Bornecrantz
parent bbd63ff071
commit 24260bb042

View file

@ -126,8 +126,7 @@ oxr_xrEnumerateApiLayerProperties(uint32_t propertyCapacityInput,
*out_function = (PFN_xrVoidFunction)(ret); \
return XR_SUCCESS; \
} \
return oxr_error(log, XR_ERROR_FUNCTION_UNSUPPORTED, \
"(name = \"%s\") " message, name); \
return XR_ERROR_FUNCTION_UNSUPPORTED; \
} \
} while (false)