Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 3d99204

Browse files
committed
Set render space for CoreLib again upon setting new display mode.
1 parent 6810595 commit 3d99204

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

SeriousSam.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,6 +1495,9 @@ BOOL TryToSetDisplayMode(enum GfxAPIType eGfxAPI, INDEX iAdapter, PIX pixSizeI,
14951495
// [Cecil] Force wide adjustment based on current aspect ratio
14961496
pdp->dp_fWideAdjustment = ((FLOAT)pdp->GetHeight() / (FLOAT)pdp->GetWidth()) * (4.0f / 3.0f);
14971497

1498+
// [Cecil] Set core render space
1499+
IRender::SetDrawPort(pdp);
1500+
14981501
// initial screen fill and swap, just to get context running
14991502
BOOL bSuccess = FALSE;
15001503

0 commit comments

Comments
 (0)