linuxfb: is_always_portrait must be passed to screen init() from all frontends. (#6712)

This is because fb driver should not be inspecting self.device for low level
caps anymore.

Fixes #6711
This commit is contained in:
ezdiy
2020-09-25 13:20:02 +02:00
committed by GitHub
parent 15455b594d
commit ef8d2d0d6e
3 changed files with 3 additions and 2 deletions

View File

@@ -152,6 +152,7 @@ function Device:init()
h = self.window.height,
x = self.window.left,
y = self.window.top,
is_always_portrait = self.isAlwaysPortrait(),
}
self.powerd = require("device/sdl/powerd"):new{device = self}