OpenGL ES 2 display problems on iOS

Any ideas, why would OpenGL ES 2 program fail to display anything on iOS but work perfectly on Raspberry Pi and Android?

Which AI Version it uses on IOS?

This should lead you to the needed informations. Apple deprecates OpenGL ES and serves Apple Metal. A few small problems coming up.

AI version? It’s actually the developer of 8th programming language having issues with iOS build. Nuklear GUI is using SDL2 and OpenGL ES as it’s rendering backend. Events come through but nothing gets displayed. The problem is only with iOS build, all the other work fine.

I know OpenGL ES is depreceated by Apple but I think, it should still work and one code base for all the supported 8th platforms would probably be a nice feature to keep.

API Version sorry
And yes it is deprecated and works only partially. It can not be a base anymore. 8th should provide a backend for metal

Try SceneKit or Spritekit, both are part of iOS and work quite well

Guess it depends on what version 8th expects ?

Every last one is deprecated

GLES2 is enough. Anyone tried Google’s ANGLE? It’s seems to be supported by SDL2.

Cant say I have

EDIT : Sounds promising though (from wikipedia)

ANGLE is currently used by Google Chrome (embedded into the Blink browser engine), Firefox,[9] Edge, WebKit, and the Qt Framework.[10] The engine is also used by Windows 10 for compatibility with apps ported from Android.[11] Throughout 2019, the Apple team contributed a Metal API backend for the ANGLE so Apple devices could run on their native graphics APIs.[12]

It seems, on iOS it’s required to specify that you want GLES3 and not GLES2 to make it work.