Re: Porting RoomTiny to Jogl
Posted by
jmaasing on
Aug 25, 2014; 9:40am
URL: https://forum.jogamp.org/Porting-RoomTiny-to-Jogl-tp4032722p4032922.html
elect wrote
BrickFarmer wrote
Next I had a complaint about shader 'texture2D' which a google search seemed to indicate might be deprecated? I tried 'texture' instead and now now I get a black window appearing with the following error:
Which kind of complain?
Texture2D was deprecated in OpenGL 3 and I think removed in OpenGL4. OSX is a little strange nowadays in that you can get a GL2 context or a GL4 context but I've had a problems with applications that want a GL3 context (I haven't investigated why). So maybe the shader compilation complains because it is a GL4 context.