mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 12:04:38 -04:00
fix starting in non widescreen mode
This commit is contained in:
parent
73f9a43248
commit
bec5773d38
@ -1442,11 +1442,15 @@ static void CreateSurfaces(void)
|
||||
SDL_TEXTUREACCESS_STREAMING,
|
||||
w, h);
|
||||
|
||||
ResetResolution(h);
|
||||
int oldwidescreen = widescreen;
|
||||
widescreen = RATIO_MATCH_SCREEN;
|
||||
|
||||
ResetResolution(h);
|
||||
R_InitAnyRes();
|
||||
ST_InitRes();
|
||||
|
||||
widescreen = oldwidescreen;
|
||||
|
||||
if (resolution_mode != RES_DRS)
|
||||
{
|
||||
ResetResolution(CurrentResolutionMode());
|
||||
|
Loading…
x
Reference in New Issue
Block a user