Re: Small cross-platform OpenGL demo
Posted: Sun Sep 11, 2016 8:34 am
to let the above example to display colored triangle in PB v5.50 we must change line 84-85
to
in PB versions before 5.50 just don't create unicode executable
Code: Select all
*vbuff = @vertex_shader
*fbuff = @fragment_shader
Code: Select all
*vbuff = Ascii(vertex_shader)
*fbuff = Ascii(fragment_shader)