When changing gui.scale to scale the whole gui the size of the cursor is not affected, so in HiDPI screens it remains very small
- Group Reviewers
Restricted Owners Package (Owns No Changed Paths)
- rP19667: Scale the cursor according to the GUI scale (HiDPI support).
- Trac Tickets
Starting the game the cursor is scaled correctly
Patch correct since it scales the cursor correctly.
Patch complete because all cursor draw calls are treated.
|75 ↗||(On Diff #1224)|
Was wondering whether we can avoid the copy and the if, but not really. Front falls off when multiplying in the first SDL_CreateRGBSurfaceFrom call and skipping the if.
Note to self: Don't read SDL tutorials from 2008.
|80 ↗||(On Diff #1224)|
|246 ↗||(On Diff #1224)|
else if ( while at it
|249 ↗||(On Diff #1224)|
Since the adjacent cases don't have scopes, that one here can go too
|42 ↗||(On Diff #1224)|