Commit 178b975d authored by Jonas Ådahl's avatar Jonas Ådahl

cursor-renderer: Align OpenGL cursor rect to physical pixel grid

When stage views are scaled with fractional scales, the cursor rectangle
won't be aligned with the physical pixel grid, making it potentially
blurry when positioned in between physical pixels. This can be avoided
by aligning the drawn rectangle to the physical pixel grid of the stage
view the cursor is located on.

Fixes: #413

!610
parent 4abca411
Pipeline #87008 passed with stages
in 4 minutes and 24 seconds