Sorry about the subject, couldn't fit all of the description. The problem i'm having is that i get the error "ERROR: Missing main()" when i'm trying to compile one of the shader objects . It doesn't have a main because it's a library that i add to my program along with other shader objects that do have main functions.
My idea was that GLES might not support this as OpenGL does, but according to the shader specs at http://www.khronos.org/files/opengles_s ... nguage.pdf there is a link error "L0009: Missing main function for shader." and no compile error defined.
I'm running WebGL but i thought it was more relevant to GLES as it is a shader issue.
The computer is running Ubuntu 11.04 something, and glxinfo gives:
Code :OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Quadro FX 1600M/PCI/SSE2 OpenGL version string: 3.3.0 NVIDIA 290.10 OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
I'm running Chrome 17.0.963.26 dev
Thanks in advance