Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile failure of vg.c #17366

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gfx/drivers/vg.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,10 +318,10 @@ static void vg_free(void *data)
static void vg_calculate_quad(vg_t *vg,
unsigned vp_width, unsigned vp_height)
{
struct video_viewport_t vp;
video_viewport_t vp;
settings_t *settings = config_get_ptr();
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.y = 0;
Expand Down
Loading