Finally ported to OpenGL ES 2.0. It's a shader oriented renderer now.
The only difference between a desktop GLUT version and an OES embedded version is:
precision mediump float;
in fragment shader, otherwise the shader won't compile, no idea why.

1.png