Support iOS for ogs-blue #7

Merged
kornerr merged 55 commits from iosblue into master 2026-10-30 14:17:25 +00:00
Showing only changes of commit 1f92c8e41c - Show all commits
+4
View File
@@ -17,10 +17,14 @@ void raybriInit(void *layer) {
EGLConfig cfg = NULL; EGLConfig cfg = NULL;
EGLContext ctx = EGL_NO_CONTEXT; EGLContext ctx = EGL_NO_CONTEXT;
EGLDisplay display = EGL_NO_DISPLAY; EGLDisplay display = EGL_NO_DISPLAY;
EGLSurface surface = EGL_NO_SURFACE;
if (!raybriEGLInit(&cfg, &ctx, &display)) { if (!raybriEGLInit(&cfg, &ctx, &display)) {
raybriLog("ERROR Could not initialize EGL"); raybriLog("ERROR Could not initialize EGL");
} }
if (!raybriEGLResetSurface(&cfg, &ctx, &display, &surface)) {
raybriLog("ERROR Could not reset EGL surface");
}
// Initialize raylib graphics layer with a placeholder 1x1 framebuffer size // Initialize raylib graphics layer with a placeholder 1x1 framebuffer size
// Graphics layer includes default texture, shader, render batch and OpenGL state // Graphics layer includes default texture, shader, render batch and OpenGL state