remove WIN32 ifdefs

This commit is contained in:
radius 2016-11-23 20:37:29 -05:00
parent 7cabb0c457
commit 8a16ec393c

View File

@ -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)