Login  Register

Re: RawGL2ES2demo fails on the Mac

Posted by jedwards1211 on Dec 31, 2015; 5:00pm
URL: https://forum.jogamp.org/RawGL2ES2demo-fails-on-the-Mac-tp4033162p4035959.html

I'm seeing #version 130 unsupported errors in my own program on my Mac.

I can't use #version 100 because it's too low for what I'm trying to do with the shader.

I tried using #version 330 instead and got "ERROR: 0:2: 'attribute' : syntax error: syntax error"

So I'm guessing I'll have to update my shader code to 330 format, but shouldn't version 130 work in GL4?  Or is there something I misunderstand?