aboutsummaryrefslogtreecommitdiffstats
path: root/games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp')
-rw-r--r--games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp b/games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp
new file mode 100644
index 000000000000..0d633841388b
--- /dev/null
+++ b/games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp
@@ -0,0 +1,20 @@
+--- code/graphics/opengl/gropenglopenxr.cpp.orig 2025-11-04 13:07:36 UTC
++++ code/graphics/opengl/gropenglopenxr.cpp
+@@ -21,7 +21,7 @@
+ #include "graphics/opengl/ShaderProgram.h"
+ #include "osapi/osapi.h"
+
+-#if defined __APPLE_CC__
++#if defined __APPLE_CC__ || defined __FreeBSD__
+
+ //Not supported
+
+@@ -38,7 +38,7 @@
+
+ #include <SDL_syswm.h>
+
+-#ifndef __APPLE_CC__
++#if !defined __APPLE_CC__ && !defined __FreeBSD__
+
+ //SETUP FUNCTIONS OGL
+ SCP_vector<const char*> gr_opengl_openxr_get_extensions() {