I wrote a fragment shader on my windows machine and it worked fine. But when I try to build it on my late 2012 macbook pro i get the following errors.
Incompatible types in initialization (and no available implicit conversion)
Is this a result from the version differences of OpenGL? Is there a way to force to a specific version of OpenGL?