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:
parent
a53e726400
commit
5eec899752
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user