mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
st/oxr: xrGetInstanceProcAddr doesn't require an instance to enumerate layers
This commit is contained in:
parent
d6df86a9ae
commit
ad6c26c231
|
@ -128,7 +128,6 @@ handle_none_null(struct oxr_logger* log,
|
|||
PFN_xrVoidFunction function = NULL;
|
||||
|
||||
ENTRY_IF(xrGetInstanceProcAddr)
|
||||
ENTRY_ELSE_IF(xrEnumerateApiLayerProperties)
|
||||
ENTRY_ELSE_IF(xrEnumerateInstanceExtensionProperties)
|
||||
ENTRY_ELSE_IF(xrCreateInstance)
|
||||
ENTRY_ELSE_IF(xrDestroyInstance)
|
||||
|
@ -239,6 +238,7 @@ handle_null(struct oxr_logger* log,
|
|||
|
||||
ENTRY_IF(xrCreateInstance)
|
||||
ENTRY_ELSE_IF(xrEnumerateInstanceExtensionProperties)
|
||||
ENTRY_ELSE_IF(xrEnumerateApiLayerProperties)
|
||||
|
||||
if (function == NULL) {
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue