Re: [AD] GLSL #version

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


That's fine by me. It's the simplest solution.

Thanks,
Trent

-----Original Message-----
From: Peter Wang [mailto:novalazy@xxxxxxxxxx] 
Sent: January 8, 2014 4:02 PM
To: Coordination of admins/developers of the game programming library
Allegro
Subject: Re: [AD] GLSL #version

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

----------------------------------------------------------------------------
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
-- 
https://lists.sourceforge.net/lists/listinfo/alleg-developers





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