开发者

Android & SDL: "called unimplemented OpenGL ES API"

I'm trying to run the "Alien Shooter" 开发者_如何学GoAndroid/SDL example on my new Samsung Galaxy Fit. I have not changed any of the code from its initial state. On the emulator things work fine but on the real device, I get a black screen and:

"libEGL: called unimplemented OpenGL ES API"

over and over again in Logcat. The only difference between the two that I can make out is that the emulator attempts to create a GLES 2.0 Context but fails:

"SDL: No EGL config available"

at which point it tries again, this time successfully with GLES 1.1. The Hardware, on the other hand, doesn't fail the first time so sticks with version 2. I've tried forcing it to choose GLES 1.1 from the beginning, but this just crashes the App altogether, both on the emulator and on the hardware.

Any ideas?


This issue can be solved by forcing the use of OpenGLES1.1 rather than 2.0. In addition, newer versions of SDL 1.3 now support OpenGLES2.0 as well - see here: http://bugzilla.libsdl.org/show_bug.cgi?id=1291


It appears to me that your program cannot find the library. It is trying to use a defined function that has no implementation, which would be in the library.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜