Re: [Fwd: [AD] Re: CVS: allegro/demo demo.c,1.23,1.24] |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
>
> I'm not sure I like this construction. As far as I know, the first will
> always succeed anyway, even on systems for which the video memory isn't a
> single surface. In that case, it is wasting video memory.
>
> I want to propose the attached patch instead, which I think is the
> recommended way to handle page flipping.
>
> Evert
>
Yes, I agree, didn't even know about that _ALLEGRO_VRAM_SINGLE_SURFACE
#define. Maybe we should make it public before though? Using an internal
symbol in the demo game isn't a good idea :P
--
Elias Pschernig