st/oxr: Log application info

This commit is contained in:
Jakob Bornecrantz 2021-02-16 16:32:58 +00:00
parent 84486aa2b9
commit 0ee32dfa21

View file

@ -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;