aboutsummaryrefslogtreecommitdiff
path: root/games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp
blob: 0d633841388b73b6684d9580c4e9a3dae8fe6245 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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() {