wjc272008 / jmonkeyengine

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

Shader error reporting fail on android 2.3 #571

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create a shader with a compilation error and make a scene using it
2.run the game on android

What is the expected output? What do you see instead?
You'll get a shader compilation error, and the shader code will be output.
But the actual error and the line of the error are never displayed.

this is due to this android issue
http://code.google.com/p/android/issues/detail?id=9953
this code : GLES20.glGetShaderInfoLog(id); returns a blank String with android 
2.3

As a workaround we could have a native patch that would fix this binding.
Also this works fine with android 4, so we can just wait until android 2.3 has 
been wiped out of the surface of the planet.

Original issue reported on code.google.com by remy.bou...@gmail.com on 12 Jan 2013 at 9:23