You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I know, the only way to fix this is to link at compile-time to GL.so instead of using eglGetProcAddress. That's what Servo is doing.
However there's no way for the user to tell at compile-time which version of OpenGL is expected. This means that by default we would have to limit ourselves to OpenGL ES 2.0 even on devices that support version 3.
Some vendors may apply downstream changes to AOSP to work around this limitation.
As a workaround, glium could not attempt to load some extensions that are obviously not available in the current context (e.g. glMaterial* on GLES).
As a practical note, there are very few cases where you actually don't know at compile time whether you'll be running on Big-GL or GLES (when shipping an end-user game/application, not middleware like glium). In particular on Android, where very few devices have Big-GL. Perhaps the best (least bad) workaround is to use an ugly #ifdef android here?
cargo build --example triangle --target=arm-linux-androideabi
android-rs-glue
example which seemed to run okThe text was updated successfully, but these errors were encountered: