This commit is contained in:
Михаил Капелько committed 2026-10-29 16:25:05 +03:00
1 parent b1dd0a5107
commit 7b8c3181d5
2 files changed
+15 -7

No files matched your search

+10 -6
View File
@@ -8,7 +8,11 @@
// Header
bool raybriEGLInit(void);
bool raybriEGLInit(
EGLConfig *cfg,
EGLContext *ctx,
EGLDisplay *display
);
bool raybriEGLResetSurface(
void *caLayer,
EGLConfig *cfg,
@@ -20,11 +24,11 @@ bool raybriEGLResetSurface(
#if defined(RAYBRI_EGL_IMPLEMENTATION)
bool raybriEGLInit(void) {
EGLConfig cfg = NULL;
EGLContext ctx = EGL_NO_CONTEXT;
EGLDisplay display = EGL_NO_DISPLAY;
bool raybriEGLInit(
EGLConfig *cfg,
EGLContext *ctx,
EGLDisplay *display
){
display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
if (display == EGL_NO_DISPLAY) {
return false;