SDL2 Adds Wayland HiDPI Support
Written by Michael Larabel in Wayland on 12 June 2019 at 10:52 AM EDT. 27 Comments
The ever important Simple DirectMedia Layer (SDL) can now handle HiDPI window scaling under Wayland.

Thanks to developer Sebastian Krzyszkowiak, HiDPI support is now in place for SDL2 on Wayland. This code supports drawing the window based upon a scaling factor.

The code is in place for the next release, likely SDL 2.0.10. There's also been a number of CVE security fixes hitting SDL this week around buffer overwrites/overreads, so perhaps the next SDL update won't be taking too long to materialize.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week