Skip to content
Snippets Groups Projects
Commit ec2d6dd2 authored by Ryan Pavlik's avatar Ryan Pavlik
Browse files

Disable debug extension for testing purposes

parent 29b1713b
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,6 @@ include_directories( ...@@ -9,7 +9,6 @@ include_directories(
set(OXR_SOURCE_FILES set(OXR_SOURCE_FILES
oxr_api_action.c oxr_api_action.c
oxr_api_debug.c
oxr_api_funcs.h oxr_api_funcs.h
oxr_api_instance.c oxr_api_instance.c
oxr_api_negotiate.c oxr_api_negotiate.c
...@@ -26,7 +25,6 @@ set(OXR_SOURCE_FILES ...@@ -26,7 +25,6 @@ set(OXR_SOURCE_FILES
oxr_instance.c oxr_instance.c
oxr_logger.cpp oxr_logger.cpp
oxr_logger.h oxr_logger.h
oxr_messenger.c
oxr_objects.h oxr_objects.h
oxr_path.c oxr_path.c
oxr_session.c oxr_session.c
......
...@@ -225,6 +225,7 @@ handle_non_null(struct oxr_instance* inst, ...@@ -225,6 +225,7 @@ handle_non_null(struct oxr_instance* inst,
ENTRY_IF_EXT(xrThermalGetTemperatureTrendEXT, EXT_thermal_query) ENTRY_IF_EXT(xrThermalGetTemperatureTrendEXT, EXT_thermal_query)
#endif // OXR_HAVE_EXT_thermal_query #endif // OXR_HAVE_EXT_thermal_query
#if 0
#ifdef OXR_HAVE_EXT_debug_utils #ifdef OXR_HAVE_EXT_debug_utils
ENTRY_IF_EXT(xrSetDebugUtilsObjectNameEXT, EXT_debug_utils); ENTRY_IF_EXT(xrSetDebugUtilsObjectNameEXT, EXT_debug_utils);
ENTRY_IF_EXT(xrCreateDebugUtilsMessengerEXT, EXT_debug_utils); ENTRY_IF_EXT(xrCreateDebugUtilsMessengerEXT, EXT_debug_utils);
...@@ -234,6 +235,7 @@ handle_non_null(struct oxr_instance* inst, ...@@ -234,6 +235,7 @@ handle_non_null(struct oxr_instance* inst,
ENTRY_IF_EXT(xrSessionEndDebugUtilsLabelRegionEXT, EXT_debug_utils); ENTRY_IF_EXT(xrSessionEndDebugUtilsLabelRegionEXT, EXT_debug_utils);
ENTRY_IF_EXT(xrSessionInsertDebugUtilsLabelEXT, EXT_debug_utils); ENTRY_IF_EXT(xrSessionInsertDebugUtilsLabelEXT, EXT_debug_utils);
#endif // OXR_HAVE_EXT_debug_utils #endif // OXR_HAVE_EXT_debug_utils
#endif
#ifdef OXR_HAVE_KHR_opengl_enable #ifdef OXR_HAVE_KHR_opengl_enable
ENTRY_IF_EXT(xrGetOpenGLGraphicsRequirementsKHR, KHR_opengl_enable); ENTRY_IF_EXT(xrGetOpenGLGraphicsRequirementsKHR, KHR_opengl_enable);
......
...@@ -92,7 +92,6 @@ ...@@ -92,7 +92,6 @@
*/ */
// clang-format off // clang-format off
#define OXR_EXTENSION_SUPPORT_GENERATE(_) \ #define OXR_EXTENSION_SUPPORT_GENERATE(_) \
OXR_EXTENSION_SUPPORT_EXT_debug_utils(_) \
OXR_EXTENSION_SUPPORT_KHR_convert_timespec_time(_) \ OXR_EXTENSION_SUPPORT_KHR_convert_timespec_time(_) \
OXR_EXTENSION_SUPPORT_KHR_opengl_enable(_) \ OXR_EXTENSION_SUPPORT_KHR_opengl_enable(_) \
OXR_EXTENSION_SUPPORT_KHR_vulkan_enable(_) \ OXR_EXTENSION_SUPPORT_KHR_vulkan_enable(_) \
......
...@@ -55,7 +55,7 @@ oxr_create_messenger(struct oxr_logger *log, ...@@ -55,7 +55,7 @@ oxr_create_messenger(struct oxr_logger *log,
if (parent_slot == NULL) { if (parent_slot == NULL) {
return oxr_error( return oxr_error(
log, XR_ERROR_LIMIT_REACHED, 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; struct oxr_debug_messenger *mssngr = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment