Re: [AD] GLSL #version

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, 8 Jan 2014 21:32:50 +0100, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> Maybe al_attach_shader_source could append to the existing source. So this
> would be valid:
> 
> al_attach_shader_source("#version 110");
> al_attach_shader_source(shader_source);

I suggest the user should just preprocess the string as he wants
and pass it to al_attach_shader_source.
Maybe we even remove al_attach_shader_source_file.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/