diff --git a/src/xrt/targets/sdl_test/sdl_internal.h b/src/xrt/targets/sdl_test/sdl_internal.h index c29c96f3b..fadfc89fe 100644 --- a/src/xrt/targets/sdl_test/sdl_internal.h +++ b/src/xrt/targets/sdl_test/sdl_internal.h @@ -214,14 +214,14 @@ from_comp(struct xrt_compositor *xc) * @relates sdl_program * @ingroup sdl_test */ -#define SP_TRACE(sp, ...) U_LOG_IFL_T(sp->log_level, __VA_ARGS__); +#define ST_TRACE(sp, ...) U_LOG_IFL_T(sp->log_level, __VA_ARGS__); /*! * Debug level logging. * * @relates sdl_program */ -#define SP_DEBUG(sp, ...) U_LOG_IFL_D(sp->log_level, __VA_ARGS__); +#define ST_DEBUG(sp, ...) U_LOG_IFL_D(sp->log_level, __VA_ARGS__); /*! * Info level logging. @@ -229,7 +229,7 @@ from_comp(struct xrt_compositor *xc) * @relates sdl_program * @ingroup sdl_test */ -#define SP_INFO(sp, ...) U_LOG_IFL_I(sp->log_level, __VA_ARGS__); +#define ST_INFO(sp, ...) U_LOG_IFL_I(sp->log_level, __VA_ARGS__); /*! * Warn level logging. @@ -237,7 +237,7 @@ from_comp(struct xrt_compositor *xc) * @relates sdl_program * @ingroup sdl_test */ -#define SP_WARN(sp, ...) U_LOG_IFL_W(sp->log_level, __VA_ARGS__); +#define ST_WARN(sp, ...) U_LOG_IFL_W(sp->log_level, __VA_ARGS__); /*! * Error level logging. @@ -245,7 +245,7 @@ from_comp(struct xrt_compositor *xc) * @relates sdl_program * @ingroup sdl_test */ -#define SP_ERROR(sp, ...) U_LOG_IFL_E(sp->log_level, __VA_ARGS__); +#define ST_ERROR(sp, ...) U_LOG_IFL_E(sp->log_level, __VA_ARGS__); /*! * Check for OpenGL errors, context needs to be current. diff --git a/src/xrt/targets/sdl_test/sdl_swapchain.c b/src/xrt/targets/sdl_test/sdl_swapchain.c index bd62a8ac7..3a967e3ff 100644 --- a/src/xrt/targets/sdl_test/sdl_swapchain.c +++ b/src/xrt/targets/sdl_test/sdl_swapchain.c @@ -45,7 +45,7 @@ vk_format_to_gl(int64_t format) static void post_init_setup(struct sdl_swapchain *ssc, struct sdl_program *sp, const struct xrt_swapchain_create_info *info) { - SP_DEBUG(sp, "CREATE"); + ST_DEBUG(sp, "CREATE"); // Setup fields ssc->sp = sp; @@ -114,7 +114,7 @@ really_destroy(struct comp_swapchain *sc) struct sdl_swapchain *ssc = (struct sdl_swapchain *)sc; struct sdl_program *sp = ssc->sp; - SP_DEBUG(sp, "DESTROY"); + ST_DEBUG(sp, "DESTROY"); sdl_make_current(sp);