mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-26 09:18:40 -04:00
Implement letterboxing disable feature for PC
Add conditional trim height adjustment for PC settings.
This commit is contained in:
@@ -1528,6 +1528,12 @@ void dCamera_c::CalcTrimSize() {
|
||||
OS_REPORT("%06d: camera: trim: keep\n", mFrameCounter);
|
||||
}
|
||||
|
||||
#if TARGET_PC
|
||||
if (dusk::getSettings().game.disableLetterboxing) {
|
||||
mTrimHeight = 0.0f;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (mCurState == 1) {
|
||||
mCurState = 0;
|
||||
} else if (mCurState == 2) {
|
||||
|
||||
Reference in New Issue
Block a user