Fix some style nits
This commit is contained in:
parent
53a35e87c3
commit
edd9ed3619
|
@ -31396,7 +31396,7 @@ void video_driver_set_viewport_core(void)
|
||||||
(float)geom->base_width / geom->base_height;
|
(float)geom->base_width / geom->base_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
void video_driver_set_viewport_full()
|
void video_driver_set_viewport_full(void)
|
||||||
{
|
{
|
||||||
unsigned width = 0;
|
unsigned width = 0;
|
||||||
unsigned height = 0;
|
unsigned height = 0;
|
||||||
|
@ -31404,9 +31404,7 @@ void video_driver_set_viewport_full()
|
||||||
video_driver_get_size(&width, &height);
|
video_driver_get_size(&width, &height);
|
||||||
|
|
||||||
if (width == 0 || height == 0)
|
if (width == 0 || height == 0)
|
||||||
{
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
aspectratio_lut[ASPECT_RATIO_FULL].value = (float)width / (float)height;
|
aspectratio_lut[ASPECT_RATIO_FULL].value = (float)width / (float)height;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue