mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
remove WIN32 ifdefs
This commit is contained in:
parent
7cabb0c457
commit
8a16ec393c
@ -674,7 +674,6 @@ static bool init_video(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef _WIN32
|
||||
if(settings->video.window_x || settings->video.window_y)
|
||||
{
|
||||
width = settings->video.window_x;
|
||||
@ -682,7 +681,6 @@ static bool init_video(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
#endif
|
||||
if (settings->video.force_aspect)
|
||||
{
|
||||
/* Do rounding here to simplify integer scale correctness. */
|
||||
@ -693,9 +691,7 @@ static bool init_video(void)
|
||||
else
|
||||
width = roundf(geom->base_width * settings->video.scale);
|
||||
height = roundf(geom->base_height * settings->video.scale);
|
||||
#ifdef _WIN32
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (width && height)
|
||||
|
Loading…
x
Reference in New Issue
Block a user