From 5a3f45dfa4cce89244d52f589792289d4b658e7c 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: Tue, 27 Oct 2026 06:45:04 +0300 Subject: [PATCH] layer --- components/raybri/mac/raybri.c | 2 +- components/raybri/raybri.h | 2 +- components/render/renderEffect.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/raybri/mac/raybri.c b/components/raybri/mac/raybri.c index 6593117..3115688 100644 --- a/components/raybri/mac/raybri.c +++ b/components/raybri/mac/raybri.c @@ -2,7 +2,7 @@ #include "raybriAux.h" #include "rlgl.h" -void raybriInit(void) { +void raybriInit(void *layer) { //SetTraceLogLevel(LOG_WARNING); // Load OpenGL extensions diff --git a/components/raybri/raybri.h b/components/raybri/raybri.h index 902f706..ef63e31 100644 --- a/components/raybri/raybri.h +++ b/components/raybri/raybri.h @@ -1,7 +1,7 @@ #ifndef RAYBRI_H #define RAYBRI_H -void raybriInit(void); +void raybriInit(void *layer); void raybriRender(int width, int height); void raybriShutdown(void); diff --git a/components/render/renderEffect.swift b/components/render/renderEffect.swift index ad3d568..31165ad 100644 --- a/components/render/renderEffect.swift +++ b/components/render/renderEffect.swift @@ -16,7 +16,7 @@ func renderInit(_ vm: RenderVM) { var swapInterval: Int32 = 1 vm.glView.openGLContext?.setValues(&swapInterval, for: .swapInterval) - raybriInit() + raybriInit(nil) } func renderStartTimer(_ vm: RenderVM) {