Latest SDL2: called unimplemented OpenGL ES API

Hi,

I have several games with SDL2 Android.
I have SDL2 one month old and everything works ok.
today I downloaded the latest SDL2 and I get this error a million times:

E/libEGL: called unimplemented OpenGL ES API

I use OpenGL 1.1. Did you change something and put the 2.0 default? How
can I set this back?
Thanks

Giorgos

Giorgos Sarris wrote:

Hi,

I have several games with SDL2 Android.
I have SDL2 one month old and everything works ok.
today I downloaded the latest SDL2 and I get this error a million times:

E/libEGL: called unimplemented OpenGL ES API

I use OpenGL 1.1. Did you change something and put the 2.0 default? How can I set this back?
Thanks

Giorgos

Try using the SDL_SetHint() function after initializing SDL but before creating the renderer:
Code:
SDL_SetHint(SDL_HINT_RENDER_DRIVER, “opengl”);

Three values to try are “opengles2”, “opengles”, and “opengl” - try them in that order and stick with the first one that works correctly on your platform.

I got around this by disabling OPENGL ES 2.0 in the SDL source.