st/oxr: Disable partial implementation of debug extension for now.

This commit is contained in:
Ryan Pavlik 2019-09-04 10:37:16 -05:00
parent 80b0c14590
commit bbd63ff071
4 changed files with 3 additions and 4 deletions

View file

@ -9,7 +9,6 @@ include_directories(
set(OXR_SOURCE_FILES
oxr_api_action.c
oxr_api_debug.c
oxr_api_funcs.h
oxr_api_instance.c
oxr_api_negotiate.c
@ -27,7 +26,6 @@ set(OXR_SOURCE_FILES
oxr_instance.c
oxr_logger.cpp
oxr_logger.h
oxr_messenger.c
oxr_objects.h
oxr_path.c
oxr_session.c

View file

@ -225,6 +225,7 @@ handle_non_null(struct oxr_instance* inst,
ENTRY_IF_EXT(xrThermalGetTemperatureTrendEXT, EXT_thermal_query)
#endif // OXR_HAVE_EXT_thermal_query
#if 0
#ifdef OXR_HAVE_EXT_debug_utils
ENTRY_IF_EXT(xrSetDebugUtilsObjectNameEXT, EXT_debug_utils);
ENTRY_IF_EXT(xrCreateDebugUtilsMessengerEXT, EXT_debug_utils);
@ -234,6 +235,7 @@ handle_non_null(struct oxr_instance* inst,
ENTRY_IF_EXT(xrSessionEndDebugUtilsLabelRegionEXT, EXT_debug_utils);
ENTRY_IF_EXT(xrSessionInsertDebugUtilsLabelEXT, EXT_debug_utils);
#endif // OXR_HAVE_EXT_debug_utils
#endif
#ifdef OXR_HAVE_KHR_opengl_enable
ENTRY_IF_EXT(xrGetOpenGLGraphicsRequirementsKHR, KHR_opengl_enable);

View file

@ -92,7 +92,6 @@
*/
// clang-format off
#define OXR_EXTENSION_SUPPORT_GENERATE(_) \
OXR_EXTENSION_SUPPORT_EXT_debug_utils(_) \
OXR_EXTENSION_SUPPORT_KHR_convert_timespec_time(_) \
OXR_EXTENSION_SUPPORT_KHR_opengl_enable(_) \
OXR_EXTENSION_SUPPORT_KHR_vulkan_enable(_) \

View file

@ -55,7 +55,7 @@ oxr_create_messenger(struct oxr_logger *log,
if (parent_slot == NULL) {
return oxr_error(
log, XR_ERROR_LIMIT_REACHED,
" nstance cannot hold any more debug messengers");
" Instance cannot hold any more debug messengers");
}
struct oxr_debug_messenger *mssngr = NULL;