Re: [AD] BUG: Page flipping and the screen

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


Eric Botcazou wrote:
"does "screen" _always_ point to the active page?"

Again I think the answer is probably "it ought to".

Are you sure? I thought it always points to the entire virtual screen, at least I'm almost sure that's how it used to be a few of years ago. The old way of page flipping (before the invention of create_video_bitmap()) was to use scroll_screen() and keep track of where to draw on the virtual screen. So if the semantics of screen chagnes, I think it might break old programs.

Sven





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