mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -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,
|
SDL_TEXTUREACCESS_STREAMING,
|
||||||
w, h);
|
w, h);
|
||||||
|
|
||||||
ResetResolution(h);
|
int oldwidescreen = widescreen;
|
||||||
|
widescreen = RATIO_MATCH_SCREEN;
|
||||||
|
|
||||||
|
ResetResolution(h);
|
||||||
R_InitAnyRes();
|
R_InitAnyRes();
|
||||||
ST_InitRes();
|
ST_InitRes();
|
||||||
|
|
||||||
|
widescreen = oldwidescreen;
|
||||||
|
|
||||||
if (resolution_mode != RES_DRS)
|
if (resolution_mode != RES_DRS)
|
||||||
{
|
{
|
||||||
ResetResolution(CurrentResolutionMode());
|
ResetResolution(CurrentResolutionMode());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user