I am running Mac OSX 10.9.2 natively and tried to run the following C# code: http://pastebin.com/b6GpxjuL
I am using Xamarin Studio with OpenTK to compile the code, but as soon as I start it, I am getting these errors in the console:
[0:]
[0:] ERROR: 0:2: '' : version '410' is not supported
ERROR: 0:4: 'layout' : syntax error syntax error
[0:]
[0:] ERROR: 0:2: '' : version '410' is not supported
I already tried different versions for the shaders, but I am always getting the error "version XXX is not supported". A render window with a triangle shows up nevertheless, though without the shaders compiled it's not displayed correctly.
I already checked Apple's compatibility list and my machine supports version 4.1 (GeForce 650): https://developer.apple.com/graphicsimaging/opengl/capabilities/
Does anyone know what's wrong?