mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 09:39:56 +00:00
Fix compile failure (#17366)
This commit is contained in:
parent
839b7654db
commit
65b9b1cd25
@ -318,10 +318,10 @@ static void vg_free(void *data)
|
|||||||
static void vg_calculate_quad(vg_t *vg,
|
static void vg_calculate_quad(vg_t *vg,
|
||||||
unsigned vp_width, unsigned vp_height)
|
unsigned vp_width, unsigned vp_height)
|
||||||
{
|
{
|
||||||
struct video_viewport_t vp;
|
video_viewport_t vp;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
bool video_scale_integer = settings->bools.video_scale_integer;
|
bool video_scale_integer = settings->bools.video_scale_integer;
|
||||||
float device_aspect = (float)width / height;
|
float device_aspect = (float)vp_width / vp_height;
|
||||||
|
|
||||||
vp.x = 0;
|
vp.x = 0;
|
||||||
vp.y = 0;
|
vp.y = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user