Closed kerigen closed 10 years ago
I actually get the exact same issue.
This has been fixed in the latest commit.
I can confirm that the problem is solved.
That is awesome, thank you !
You're welcome :)
Hi MasDennis, would you please share some mind on how this issue is caused and fixed? Because I might meet the same issue in new build of rajawali 04-25 01:48:28.687 17872-18943/com.vrexplorer.vrcinema E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 13072 Process: com.vrexplorer.vrcinema, PID: 17872 java.lang.RuntimeException: OpenGL Error: invalid value 1281 at rajawali.renderer.RajawaliRenderer.onDrawEye(RajawaliRenderer.java:455) at com.vrexplorer.vrcinema.library.LibraryActivity$LibraryRenderer.onDrawEye(LibraryActivity.java:132) at rajawali.renderer.RajawaliRenderer.onDrawFrame(RajawaliRenderer.java:402) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1532) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1249)
When I run my app for the first time on any device, everything runs ok .. the app start and works perfectly, but if I exit my app and run it again I get this ERROR:
FATAL EXCEPTION: GLThread 15673 java.lang.RuntimeException: OpenGL Error: invalid value 1281 at rajawali.renderer.RajawaliRenderer.onDrawFrame(RajawaliRenderer.java:387) at rajawali.vuforia.RajawaliVuforiaRenderer.onDrawFrame(RajawaliVuforiaRenderer.java:124) at com.example.test3d.MyRenderer.onDrawFrame(MyRenderer.java:50) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1516) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
this is my onDrawFrame function:
public void onDrawFrame(GL10 glUnused) { super.onDrawFrame(glUnused); }