From cefa43fab7f2a027dbb7b4dabd35c764fb9cc352 Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Thu, 12 Dec 2024 15:14:38 -0800 Subject: [PATCH] igl | openxr | Fixed Android --- shell/openxr/mobile/AndroidMain.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/openxr/mobile/AndroidMain.cpp b/shell/openxr/mobile/AndroidMain.cpp index f8c4e11b9b..5030d38f5b 100644 --- a/shell/openxr/mobile/AndroidMain.cpp +++ b/shell/openxr/mobile/AndroidMain.cpp @@ -36,7 +36,9 @@ #endif // IGL_PLATFORM_WINDOWS static XrInstance gInstance_; -static XrInstance getXrInstance() { + +// This function cannot be declared as `static` due to our Android GitHub builds +XrInstance getXrInstance() { return gInstance_; }