Re: [AD] triple buffering and page flipping |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2006-01-01, Peter Wang <tjaden@xxxxxxxxxx> wrote:
> On 2006-01-01, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> > On Sun, 2006-01-01 at 12:24 +1100, Peter Wang wrote:
> > >
> > > The breakage seems like it is limited to the demo game and was
> > > introduced when the demo was split into multiple files, namely r5158 in
> > > SVN. Elias?
> > >
> >
> > Erm.. the split was done quite some time ago.. anyway, I'll try it in
> > windows myself sometime this year and see if I can reproduce..
>
> Here is the fix. The video bitmaps for page flipping and triple
> buffering were being created _before_ the call to set_gfx_mode().
>
> Attached is a related patch to turn the animation_type variable
> into an enumeration.
Committed both.