init_video - cleanup

This commit is contained in:
twinaphex 2015-04-11 06:23:40 +02:00
parent b77a3c49ee
commit c00b1ac7e1

View File

@ -481,13 +481,10 @@ void init_video(void)
unsigned base_width = roundf(geom->base_height *
global->system.aspect_ratio);
width = roundf(base_width * settings->video.scale);
height = roundf(geom->base_height * settings->video.scale);
}
else
{
width = roundf(geom->base_width * settings->video.scale);
height = roundf(geom->base_height * settings->video.scale);
}
height = roundf(geom->base_height * settings->video.scale);
}
if (width && height)