diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /games/fs2open/files/patch-code_graphics_openxr.cpp | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'games/fs2open/files/patch-code_graphics_openxr.cpp')
| -rw-r--r-- | games/fs2open/files/patch-code_graphics_openxr.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games/fs2open/files/patch-code_graphics_openxr.cpp b/games/fs2open/files/patch-code_graphics_openxr.cpp new file mode 100644 index 000000000000..827388a667d7 --- /dev/null +++ b/games/fs2open/files/patch-code_graphics_openxr.cpp @@ -0,0 +1,18 @@ +--- code/graphics/openxr.cpp.orig 2025-11-04 13:12:38 UTC ++++ code/graphics/openxr.cpp +@@ -9,7 +9,7 @@ std::unique_ptr<star[]> Stars_XRBuffer; + + std::unique_ptr<star[]> Stars_XRBuffer; + +-#ifndef __APPLE_CC__ ++#if !defined(__APPLE_CC__) && !defined(__FreeBSD__) + + #define XR_MAKE_VERSION_SHORT(major, minor, patch) \ + ((((major) & 0x3ffU) << 20) | (((minor) & 0x3ffU) << 10) | ((patch) & 0x3ffU)) +@@ -545,4 +545,4 @@ OpenXRTrackingInfo openxr_start_stereo_frame() { retur + + OpenXRTrackingInfo openxr_start_stereo_frame() { return OpenXRTrackingInfo{}; } + +-#endif +\ No newline at end of file ++#endif |
