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

William Dyce wilbefast at gmail.com
Fri Jul 22 02:14:20 PDT 2011


Thanks for the reply Forest - where is the context specified, do you know?
There are a lot of source files in the port - I'm guessing one of the Java
glue files, right? I've used the SDK before but this is my first NDK project
- guess I'm not going to avoid hacking around with things...

William

On 22 July 2011 17:02, Forest Hale <havoc at ghdigital.com> wrote:

> 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<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<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<http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>
>>
>
>
> --
> LordHavoc
> Author of DarkPlaces Quake1 engine - http://icculus.org/twilight/**
> darkplaces <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
>
> ______________________________**_________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.org<http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110722/040bf3d9/attachment-0008.htm>


More information about the SDL mailing list