mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 725143 - crash when restarting b2g with screen off [r=gal]
This commit is contained in:
parent
99c07b75c9
commit
e6c922623e
@ -78,6 +78,9 @@ static bool sFramebufferOpen;
|
||||
nsWindow::nsWindow()
|
||||
{
|
||||
if (!sGLContext && !sFramebufferOpen) {
|
||||
// workaround Bug 725143
|
||||
hal::SetScreenEnabled(true);
|
||||
|
||||
// We (apparently) don't have a way to tell if allocating the
|
||||
// fbs succeeded or failed.
|
||||
gNativeWindow = new android::FramebufferNativeWindow();
|
||||
|
Loading…
Reference in New Issue
Block a user