Android support, attempt-1 #8
@@ -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
|
||||
|
||||
Reference in new issue
Block a user