SupportsWindowMode now always return true, at least for the moment. Chart works with DirectWindow in window mode even with the vesa driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15797 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e6c149ddd1
commit
bf9071ee27
@ -291,12 +291,16 @@ BDirectWindow::IsFullScreen() const
|
|||||||
bool
|
bool
|
||||||
BDirectWindow::SupportsWindowMode(screen_id id)
|
BDirectWindow::SupportsWindowMode(screen_id id)
|
||||||
{
|
{
|
||||||
display_mode mode;
|
/* display_mode mode;
|
||||||
status_t status = BScreen(id).GetMode(&mode);
|
status_t status = BScreen(id).GetMode(&mode);
|
||||||
if (status == B_OK)
|
if (status == B_OK)
|
||||||
return mode.flags & B_PARALLEL_ACCESS;
|
return mode.flags & B_PARALLEL_ACCESS;
|
||||||
|
|
||||||
return false;
|
return false;*/
|
||||||
|
// TODO: Apparently, the above is false for the vesa driver,
|
||||||
|
// but enabling it doesn't do any harm... maybe we should just return always true.
|
||||||
|
// At least, I can't see why window mode shouldn't be supported.
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user