Re: [AD] al_update_display_region |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
2009/2/25 Elias Pschernig <elias.pschernig@xxxxxxxxxx>:
>
> For the scenario where you actually have to know whether the two
> functions do something different (I couldn't think of a reason), we
> could provide a display flag returned by al_get_display_flags() which
> indicates whether the current display does support it.
The function is used if you want to implement some DRS on singe buffer
displays. Yes, the user will call al_flip_display() if it fails, but
the he should know that happened. So I think it's best to have it just
return false. What concerns me more is that the function can be
implemented only in D3D IIRC. In WGL it's just a driver hint. Maybe we
should remove it.
--
Milan Mimica
http://sparklet.sf.net