[SDL] SDL Android: "Call to unimplemented OpenGL ES API"

Forest Hale havoc at ghdigital.com
Fri Jul 22 00:02:40 PDT 2011

Some functions in OpenGL ES 1 are not implemented in OpenGL ES 2, and of course the opposite is also true.

Make sure you're asking for the right type of context.

I had to fix a bug in the Java EGL setup code where it was asking for an OpenGL ES 1 context after picking a config that supports both, where my code requires an OpenGL ES 2 context, so it was giving 
this same error message because I was making OpenGL ES 2 calls on an OpenGL ES 1 context...

On 07/21/2011 11:20 PM, William Dyce wrote:
> Hi there,
> I'm just making a start trying to port an SDL project to Android. I managed to get the Alien Shooter example project <http://www.libsdl.org/tmp/android-project.zip> running on an emulator, but when I
> try it on my actual hardware device (identical to the emulator, in theory) I get no image, only music and sound. The log, meanwhile, fills up with */"Call to unimplemented OpenGL ES API"/* entries.
> Does anybody know why this might be? I'm using a Samsung Galaxy Fit <http://en.wikipedia.org/wiki/Samsung_Galaxy_Fit>, so Android 2.2. Any help would be most welcome!
> Thanks,
> William
> PS - yes, I *did* remember to load the data on the sd card ;)
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Author of DarkPlaces Quake1 engine - http://icculus.org/twilight/darkplaces
Co-designer of Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass
"A game is a series of interesting choices." - Sid Meier

More information about the SDL mailing list