Fix 256x480 and 512x480 resolutions.

This commit is contained in:
Daniele Cattaneo
2019-12-31 00:36:56 +01:00
parent f2e339413b
commit 846477a98b
+6 -1
View File
@@ -212,7 +212,12 @@
- (OEIntSize)aspectSize
{
return OEIntSizeMake(256 * (8.0/7.0), screenRect.size.height);
if (!(program->overscan)) {
/* Overscan hiding removes the top and bottom 8 pixels.
* This fraction is equivalent to (256 * 8 / 7) / 224 */
return OEIntSizeMake(64, 49);
}
return OEIntSizeMake(8, 7);
}
- (GLenum)pixelFormat