Fix opengles to work with Android devices
Opengles needs a lot of changes to make it work with Android.
Note: I’m limited here since making this happen on Win is too much hassle.
rendererGLES: first attempt to fix opengles, refs #1100
Opengl ES is very limited compared to desktop OpenGL implementation need
rendererGLES: small optimization, use short instead of int for systems with small memory amount to spare, refs #1100