I think in the function egl_create renderable_type should be surface_type:
if ((renderable_type & EGL_PBUFFER_BIT) == 0) {
continue;
}
if ((renderable_type & EGL_WINDOW_BIT) == 0) {
continue;
}
Otherwise surface_type wouldn't be used at all.
I tried a fix in my fork. There is no change in the program behaviour that I can see.
I also had to link with libEGL and libGLESv3 to prevent a dynamic linker error that prevents the program from starting.
I think in the function egl_create renderable_type should be surface_type:
Otherwise surface_type wouldn't be used at all.
I tried a fix in my fork. There is no change in the program behaviour that I can see.
I also had to link with libEGL and libGLESv3 to prevent a dynamic linker error that prevents the program from starting.