From 3ab45ab003b6d2d40731873f876169a039f083d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Thu, 29 Oct 2026 23:46:52 +0300 Subject: [PATCH] brid h --- components/raybri/raybri.h | 4 ---- ogs-blue/ver-ios/project.yml | 2 +- ogs-blue/ver-ios/src/BlueBridgingHeader.h | 7 +++++++ 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 ogs-blue/ver-ios/src/BlueBridgingHeader.h diff --git a/components/raybri/raybri.h b/components/raybri/raybri.h index 1d857ca..902f706 100644 --- a/components/raybri/raybri.h +++ b/components/raybri/raybri.h @@ -1,10 +1,6 @@ #ifndef RAYBRI_H #define RAYBRI_H -#if defined(PLATFORM_IOS) -#include "../egl/egl.h" -#endif - void raybriInit(void); void raybriRender(int width, int height); void raybriShutdown(void); diff --git a/ogs-blue/ver-ios/project.yml b/ogs-blue/ver-ios/project.yml index 12310e8..d5e0acf 100644 --- a/ogs-blue/ver-ios/project.yml +++ b/ogs-blue/ver-ios/project.yml @@ -27,5 +27,5 @@ targets: LD_RUNPATH_SEARCH_PATHS: - "$(inherited) @executable_path/Frameworks" PRODUCT_BUNDLE_IDENTIFIER: org.opengamestudio.blue - SWIFT_OBJC_BRIDGING_HEADER: src/raybri/raybri.h + SWIFT_OBJC_BRIDGING_HEADER: src/BlueBridgingHeader.h type: application diff --git a/ogs-blue/ver-ios/src/BlueBridgingHeader.h b/ogs-blue/ver-ios/src/BlueBridgingHeader.h new file mode 100644 index 0000000..2d1fc0f --- /dev/null +++ b/ogs-blue/ver-ios/src/BlueBridgingHeader.h @@ -0,0 +1,7 @@ +#ifndef OGS_BLUE_BRIDGING_HEADER_H +#define OGS_BLUE_BRIDGING_HEADER_H + +#include "egl/egl.h" +#include "raybri/raybri.h" + +#endif // OGS_BLUE_BRIDGING_HEADER_H