Skip to content

Commit

Permalink
igl | openxr | Fixed Android (facebook#229)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebook#229

Reviewed By: rudybear

Differential Revision: D67169407

Pulled By: corporateshark

fbshipit-source-id: a7877d4be4de57be35d3bf14113dd2024a78903c
  • Loading branch information
corporateshark authored and facebook-github-bot committed Dec 13, 2024
1 parent 9ee800e commit 04f0e6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shell/openxr/mobile/AndroidMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
#endif // IGL_PLATFORM_WINDOWS

static XrInstance gInstance_;
static XrInstance getXrInstance() {

// This function cannot be declared as `static` due to our Android GitHub builds
// @lint-ignore CLANGTIDY
XrInstance getXrInstance() {
return gInstance_;
}

Expand Down

0 comments on commit 04f0e6a

Please sign in to comment.