LeprovostQuentin / mt4j

Automatically exported from code.google.com/p/mt4j
GNU General Public License v2.0
0 stars 0 forks source link

Nexus One initialization Error with Android-Port #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the android port on a google nexus one phone.
2.
3.

What is the expected output? What do you see instead?
Instead of running the app we get this error:

07-27 11:44:40.186: ERROR/AndroidRuntime(17395): FATAL EXCEPTION: GLThread 10
07-27 11:44:40.186: ERROR/AndroidRuntime(17395): java.lang.RuntimeException: 
PFramebuffer: GL_FRAMEBUFFER_UNSUPPORTED_OES8cdd
07-27 11:44:40.186: ERROR/AndroidRuntime(17395):     at 
processing.core.PFramebuffer.validFbo(PFramebuffer.java:371)
07-27 11:44:40.186: ERROR/AndroidRuntime(17395):     at 
processing.core.PFramebuffer.setColorBuffers(PFramebuffer.java:142)
07-27 11:44:40.186: ERROR/AndroidRuntime(17395):     at 
processing.core.PFramebuffer.setColorBuffer(PFramebuffer.java:109)
07-27 11:44:40.186: ERROR/AndroidRuntime(17395):     at 
processing.core.PGraphicsAndroid3D.initPrimary(PGraphicsAndroid3D.java:6507)
07-27 11:44:40.186: ERROR/AndroidRuntime(17395):     at 
processing.core.PGraphicsAndroid3D.beginDraw(PGraphicsAndroid3D.java:887)
07-27 11:44:40.186: ERROR/AndroidRuntime(17395):     at 
processing.core.PApplet.handleDraw(PApplet.java:1771)
07-27 11:44:40.186: ERROR/AndroidRuntime(17395):     at 
processing.core.PGraphicsAndroid3D$A3DRenderer.onDrawFrame(PGraphicsAndroid3D.ja
va:7331)
07-27 11:44:40.186: ERROR/AndroidRuntime(17395):     at 
android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1363)
07-27 11:44:40.186: ERROR/AndroidRuntime(17395):     at 
android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)

We should not try to use the FBO extension on phones that dont support them!

Original issue reported on code.google.com by sirhc.f...@gmail.com on 3 Aug 2011 at 9:13