Merge pull request #900 from duncanspumpkin/fix_resolution

Fix resolution defaulting to 640*480
This commit is contained in:
Ted John 2015-03-06 18:53:32 +00:00
commit 9e238c75cb
1 changed files with 1 additions and 0 deletions

View File

@ -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) {
closestWidth = gResolutions[i].width;
closestHeight = gResolutions[i].height;
closestAreaDiff = 0;
break;
}