Re: [AD] 4.9 shutdown bug

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


On 2007-12-02, Trent Gamblin <trentg@xxxxxxxxxx> wrote:
> Changed to:
> 
> void al_set_current_display(ALLEGRO_DISPLAY *display)
> {
>    if ((tls = tls_get()) == NULL)
>       return;
>    tls->current_display = display;
> 
>    if (display) {
>       display->vt->set_current_display(display);
>       al_set_target_bitmap(al_get_backbuffer());
>    }
> }

Shouldn't the target bitmap be set to NULL if `display' is NULL though?

Peter





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