Skip to content

Commit

Permalink
guilib: reset pixelratio of RES_WINDOW when requested
Browse files Browse the repository at this point in the history
Fixes default button in calibration window.
  • Loading branch information
Joakim Plate authored and elupus committed Aug 1, 2013
1 parent 06dd4a2 commit ff7f1e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xbmc/guilib/GraphicContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,10 @@ void CGraphicContext::ResetScreenParameters(RESOLUTION res)
info.fPixelRatio = 4320.0f / 4739.0f*4.0f / 3.0f;
info.strMode = "PAL60 16:9";
break;
case RES_WINDOW:
info.iSubtitles = (int)(0.965 * info.iHeight);
info.fPixelRatio = 1.0;
break;
default:
break;
}
Expand Down

0 comments on commit ff7f1e2

Please sign in to comment.