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: Issues with cursors consisting of multiple sprites #8757

Merged
merged 2 commits into from Feb 27, 2021

Conversation

frosch123
Copy link
Member

Motivation / Problem

OpenGL video driver: when dragging multi-sprite vehicles in depot, they looked borked when attached to the cursor.

Description

The OpenGL driver did not use sprite offset. For regular cursor sprites this does not matter, since the offset is usually (0,0), but for vehicle cursors it's important.

Also included is yet another fix, where the vehicle cursor did not account for the GUI zoom level.

Limitations

None

Checklist for review

N/A

@TrueBrain TrueBrain added this to the 1.11.0 milestone Feb 27, 2021
src/video/opengl.cpp Outdated Show resolved Hide resolved
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.

None yet

3 participants