Android support, attempt-1 #8

Open
kornerr wants to merge 62 commits from and1 into master
pull from: and1
Showing only changes of commit 1f92c8e41c - Show all commits
+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