I'm trying to determine why I'm hitting this unexplained thing:
<bdbdbd> GLSL ..
<bdbdbd> my vert and frags are compiling ok, but when it goes to link the linker dumps some garbage:
<bdbdbd> ShaderProgram:Link: Program log (length 92) for shaders
<bdbdbd> data/shaders/worldshader.vert, and data/shaders/worldshader.frag:
<bdbdbd> Vertex info
<bdbdbd> 0(137) : error C1013: function "main" is already defined at 0(130)
<bdbdbd> ShaderProgram:Link: Failed to link program.
Can anyone tell me why it would throw this error in the linker log?? OF COURSE there are two main() functions, it's a friggin vert/frag combo
The reason I am posting here is because I'm comparing glew to a raw implementation and trying to figure out why it would be different.