mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #900 from duncanspumpkin/fix_resolution
Fix resolution defaulting to 640*480
This commit is contained in:
commit
9e238c75cb
|
@ -137,6 +137,7 @@ void platform_get_closest_resolution(int inWidth, int inHeight, int *outWidth, i
|
||||||
if (gResolutions[i].width == inWidth && gResolutions[i].height == inHeight) {
|
if (gResolutions[i].width == inWidth && gResolutions[i].height == inHeight) {
|
||||||
closestWidth = gResolutions[i].width;
|
closestWidth = gResolutions[i].width;
|
||||||
closestHeight = gResolutions[i].height;
|
closestHeight = gResolutions[i].height;
|
||||||
|
closestAreaDiff = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue