mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
- move ENABLE_CHANGE_OSD_RESOLUTION to scale2Res() function
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user