diff options
Diffstat (limited to 'games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp')
| -rw-r--r-- | games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp | 20 |
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() { |
