mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
CFbAccelCSHD2::setMode: Fix value for screeninfo.yres_virtual
This commit is contained in:
@@ -235,8 +235,10 @@ int CFbAccelCSHD2::setMode(unsigned int nxRes, unsigned int nyRes, unsigned int
|
|||||||
setOsdResolutions();
|
setOsdResolutions();
|
||||||
|
|
||||||
if (fullHdAvailable()) {
|
if (fullHdAvailable()) {
|
||||||
screeninfo.xres_virtual=screeninfo.xres=nxRes;
|
screeninfo.xres=nxRes;
|
||||||
screeninfo.yres_virtual=screeninfo.yres=nyRes;
|
screeninfo.yres=nyRes;
|
||||||
|
screeninfo.xres_virtual=nxRes;
|
||||||
|
screeninfo.yres_virtual=nyRes*2;
|
||||||
screeninfo.height=0;
|
screeninfo.height=0;
|
||||||
screeninfo.width=0;
|
screeninfo.width=0;
|
||||||
screeninfo.xoffset=screeninfo.yoffset=0;
|
screeninfo.xoffset=screeninfo.yoffset=0;
|
||||||
|
Reference in New Issue
Block a user