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 weapon sprite offset for irregular aspect ratios #497

Merged
merged 6 commits into from
Jul 18, 2024

Conversation

Omnisthetics
Copy link
Contributor

When using a custom resolution with an aspect ratio not found in the settings, the weapon sprite is rendered away from the bottom of the window. This PR keeps the sprite in line with the bottom at any resolution.

Before (720x720):
before

After (720x720):
after

@Omnisthetics Omnisthetics changed the title Fixed weapon sprite offset for irregular aspect ratios Fix weapon sprite offset for irregular aspect ratios Jun 23, 2024
prboom2/src/v_video.c Outdated Show resolved Hide resolved
@kraflab
Copy link
Owner

kraflab commented Jul 18, 2024

Thanks 👍

@kraflab kraflab merged commit 85062fc into kraflab:master Jul 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants