added a TODO comment

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12339 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-04-12 08:15:53 +00:00
parent a53e726400
commit 5eec899752

View File

@ -288,6 +288,10 @@ AccelerantHWInterface::Shutdown()
status_t
AccelerantHWInterface::SetMode(const display_mode &mode)
{
// TODO: There are places this function can fail,
// maybe it needs to roll back changes in case of an
// error.
// prevent from doing the unnecessary
if (fModeCount > 0 && fBackBuffer && fFrontBuffer
&& fDisplayMode.virtual_width == mode.virtual_width