Parinesh-Baitule / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

OpenGL ES version parse issue #452

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run any jME3 applications on Android 4.0

What is the expected output? What do you see instead?
SEVERE AndroidHarness 10:01:28 AM Exception thrown in Thread[GLThread 
568,5,main]: 
java.lang.NumberFormatException: Invalid float: “1.8@785978″
  at java.lang.StringToReal.invalidReal(63)
  at java.lang.StringToReal.parseFloat(310)
  at java.lang.Float.parseFloat(300)
  at com.jme3.renderer.android.OGLESShaderRenderer.initialize(198)
  at com.jme3.system.android.OGLESContext.initInThread(265)
  at com.jme3.system.android.OGLESContext.onSurfaceCreated(217)
  at android.opengl.GLSurfaceView$GLThread.guardedRun(1446)
  at android.opengl.GLSurfaceView$GLThread.run(1216)

The issue happens because the OpenGL ES version received doesn't follow the 
specification

Original issue reported on code.google.com by ShadowIs...@gmail.com on 11 Jan 2012 at 12:56

GoogleCodeExporter commented 8 years ago

Original comment by ShadowIs...@gmail.com on 14 Jan 2012 at 4:50