SDL
SDL copied to clipboard
render: use nearest pixel scaling for debug text
Description
The debug text font is less legible when scaled linearly.
Before:
Afer:
However it is less legible when scaled to 1.5. Maybe we should check the scaling factor instead of unconditionally setting one or the other?
However it is less legible when scaled to 1.5.
In my opinion 1.5 looks decent. Of the factors below, 1.2 and those below 1 seem to be a bit worse than the linear version but it's still legible.
Maybe we should check the scaling factor instead of unconditionally setting one or the other?
Not sure if it's worth doing. What would be a good condition in your opinion?
I think I agree with you, but I’ll defer to @icculus’s opinion on this.
Thanks for the visual comparison!
I would really like this to use nearest scaling, so no fight from me on this. Let's merge it!
How frequent are SDL3 preview releases? Can't wait to pin to a release that has this.