[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Thu, 07 Mar 2013 20:40:15 -0500, SiegeLord <slabode@xxxxxxxxxx> wrote:
> On 03/07/2013 08:32 PM, Jon Rafkind wrote:
> > On 03/07/2013 06:24 PM, Trent Gamblin wrote:
> >> On 2013-03-07, at 4:33 PM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> >>> I think that any solution should be such that shader-unaware code can
> >>> work continue to work in either programmable pipeline mode or not.
> >> What about having a per-display default shader. If a bitmap doesn't have an explicitly set shader, the default shader is used?
> >
> > +1
>
> I like this proposal too. I reconsidered my earlier idea about being
> able to specify the default shader, and decided that it is not necessary.
Ok, I've done it for OpenGL.
Does someone want to take care of the D3D side?
Peter