Re: [AD] shader variable names |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, 27 Feb 2013 17:13:47 -0500, SiegeLord <slabode@xxxxxxxxxx> wrote:
>
> So I think these macros should either be gone, or not be public because
> their usage outside the string literal shader definitions is always a
> mistake.
In the examples there is this:
al_set_shader_sampler(shader, ALLEGRO_SHADER_VAR_TEX, bmp, 0);
But otherwise, I think there is value to using the macros within Allegro
itself.
Jon, please don't push incomplete changes >:(
Peter