This commit is contained in:
Михаил Капелько committed 2026-10-23 06:57:04 +03:00
1 parent 4b70bd9906
commit e0f54dde75
7 files changed
+38 -43

No files matched your search

+5 -5
View File
@@ -10,7 +10,7 @@
// GL runs on ANGLE (libEGL + libGLESv2, Metal backend), taken from the same
// ghera release as raylib's headers.
#include "raybriIOS.h"
#include "../raybri.h"
#include <math.h>
#include <stdio.h>
@@ -90,7 +90,7 @@ static int sr_create_surface(void)
return 1;
}
int raybri_ios_init(void *layer, int width, int height)
int raybri_init(void *layer, int width, int height)
{
if (sr_ready) return 1;
@@ -166,7 +166,7 @@ int raybri_ios_init(void *layer, int width, int height)
return 1;
}
void raybri_ios_resize(int width, int height)
void raybri_resize(int width, int height)
{
if (!sr_ready) return;
@@ -181,7 +181,7 @@ void raybri_ios_resize(int width, int height)
sr_log("surface recreated");
}
void raybri_ios_render(double time)
void raybri_render(double time)
{
if (!sr_ready) return;
@@ -200,7 +200,7 @@ void raybri_ios_render(double time)
eglSwapBuffers(sr_display, sr_surface);
}
void raybri_ios_shutdown(void)
void raybri_shutdown(void)
{
if (!sr_ready) return;