app_server: turn on screen on start
Screen may be turned off if video card is not supported by firmware and boot loader. Change-Id: Ie60fc00da281ec3781084dd97466a68b885fde7b Reviewed-on: https://review.haiku-os.org/c/haiku/+/4114 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
5478ac965d
commit
cc265c1482
@ -136,6 +136,10 @@ VirtualScreen::AddScreen(Screen* screen, ScreenConfigurations& configurations)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Turn on screen if this is not yet done by BIOS
|
||||||
|
if (status == B_OK)
|
||||||
|
screen->HWInterface()->SetDPMSMode(B_DPMS_ON);
|
||||||
|
|
||||||
// TODO: this works only for single screen configurations
|
// TODO: this works only for single screen configurations
|
||||||
fDrawingEngine = screen->GetDrawingEngine();
|
fDrawingEngine = screen->GetDrawingEngine();
|
||||||
fHWInterface = screen->HWInterface();
|
fHWInterface = screen->HWInterface();
|
||||||
|
Loading…
Reference in New Issue
Block a user