Merge branch 'pu/fb-setmode' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox

Origin commit data
------------------
Commit: aac7acd827
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
This commit is contained in:
vanhofen
2017-02-19 23:34:53 +01:00
4 changed files with 6 additions and 24 deletions

View File

@@ -297,8 +297,10 @@ int CFbAccelCSHD2::scale2Res(int size)
So let's scale these values to other resolutions.
*/
#ifdef ENABLE_CHANGE_OSD_RESOLUTION
if (screeninfo.xres == 1920)
size += size/2;
#endif
return size;
}