Skip to content

Commit b3170b2

Browse files
committed
Fixed 1366x768 Resolution (was 1366x769). fix #26
1 parent de40b56 commit b3170b2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

SamTFE/Sources/SeriousSam/Menu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5078,6 +5078,7 @@ static void FillResolutionsList()
50785078
if( apixWidths[iRes][0]>_pixDesktopWidth) break;
50795079
apixWidths[iRes][1] = (int)ceil( apixWidths[iRes][0] / ratio);
50805080
if (apixWidths[iRes][1] == 1098) apixWidths[iRes][1] = 1080;
5081+
if (apixWidths[iRes][1] == 769) apixWidths[iRes][1] = 768;
50815082
SetResolutionInList( iRes, apixWidths[iRes][0], apixWidths[iRes][1]);
50825083
}
50835084
_ctResolutions = iRes;

SamTSE/Sources/SeriousSam/Menu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5078,6 +5078,7 @@ static void FillResolutionsList()
50785078
if( apixWidths[iRes][0]>_pixDesktopWidth) break;
50795079
apixWidths[iRes][1] = (int)ceil( apixWidths[iRes][0] / ratio);
50805080
if (apixWidths[iRes][1] == 1098) apixWidths[iRes][1] = 1080;
5081+
if (apixWidths[iRes][1] == 769) apixWidths[iRes][1] = 768;
50815082
SetResolutionInList( iRes, apixWidths[iRes][0], apixWidths[iRes][1]);
50825083
}
50835084
_ctResolutions = iRes;

0 commit comments

Comments
 (0)