On 30 June 2013 21:11, kilon <[email protected]> wrote: > I am not going to post my code here cause it has become too big , you can > find it here > > http://www.smalltalkhub.com/#!/~kilon/GLTutorial > <http://www.smalltalkhub.com/#!/~kilon/GLTutorial> > > I tried adding newlines with String cr to my shaders strings, but apparently > opengl is not convinced. It looks like smalltalk cr is not converted to C > "\n" newlines. So how I do that ? >
simply replace all occurences of Character cr with Character lf (or crlf, if it wants that) > -- > View this message in context: > http://forum.world.st/Understanding-NBOpenGL-tp4686514p4696465.html > Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. > -- Best regards, Igor Stasenko.
