This commit is contained in:
Михаил Капелько committed 2026-10-29 16:28:39 +03:00
1 parent 7b8c3181d5
commit 1f92c8e41c
1 file changed
+4
+4
View File
@@ -17,10 +17,14 @@ void raybriInit(void *layer) {
EGLConfig cfg = NULL;
EGLContext ctx = EGL_NO_CONTEXT;
EGLDisplay display = EGL_NO_DISPLAY;
EGLSurface surface = EGL_NO_SURFACE;
if (!raybriEGLInit(&cfg, &ctx, &display)) {
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
// Graphics layer includes default texture, shader, render batch and OpenGL state