Add APK-local OpenXR 1.1 compatibility layer for Frame

This commit is contained in:
saphid committed 2026-09-28 16:24:27 +10:00
1 parent 724b020e93
commit 0dbe18d824
21 files changed
+17204

No files matched your search

@@ -0,0 +1,9 @@
#pragma once
// Host-only logcat replacement. Android builds use the NDK header and liblog.
#include <cstdarg>
#include <cstdio>
#define ANDROID_LOG_INFO 4
inline int __android_log_print(int, const char*, const char* fmt, ...) {
va_list args; va_start(args, fmt); auto r = std::vfprintf(stderr, fmt, args);
va_end(args); std::fputc('\n', stderr); return r;
}