(wetek_play) platform_init: Use 1080p virtual size in 720p mode

For AML, Kodi is by default initialized with 1080p virtual
size, so doing the same in init before Kodi loads, will
prevent screen corruption when switching from OpenELEC splash
and Kodi.
This commit is contained in:
Arne Coucheron 2015-08-12 01:20:49 +02:00 committed by Stephan Raue
parent 6d3a583c10
commit eda2b9b08b

View File

@ -49,7 +49,7 @@ echo 0 > /sys/class/graphics/fb0/free_scale
# Set framebuffer geometry to match the resolution
case "$hdmimode" in
720*)
fbset -fb /dev/fb0 -g 1280 720 1280 1440 32
fbset -fb /dev/fb0 -g 1280 720 1920 2160 32
;;
1080*)
fbset -fb /dev/fb0 -g 1920 1080 1920 2160 32