From 0ee32dfa21568337b59dc34599cb8d5baf68e877 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Tue, 16 Feb 2021 16:32:58 +0000 Subject: [PATCH] st/oxr: Log application info --- src/xrt/state_trackers/oxr/oxr_instance.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/xrt/state_trackers/oxr/oxr_instance.c b/src/xrt/state_trackers/oxr/oxr_instance.c index 1600e0571..f8ab6edca 100644 --- a/src/xrt/state_trackers/oxr/oxr_instance.c +++ b/src/xrt/state_trackers/oxr/oxr_instance.c @@ -330,6 +330,17 @@ oxr_instance_create(struct oxr_logger *log, const XrInstanceCreateInfo *createIn oxr_sdl2_hack_start(inst->hack, inst->xinst); /* ---- HACK ---- */ + oxr_log(log, + "Instance created\n" + "\tapplicationName: %s\n" + "\tapplicationVersion: %i\n" + "\tengineName: %s\n" + "\tengineVersion: %i\n", + createInfo->applicationInfo.applicationName, // + createInfo->applicationInfo.applicationVersion, // + createInfo->applicationInfo.engineName, // + createInfo->applicationInfo.engineVersion); // + *out_instance = inst; return XR_SUCCESS;