mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-09-02 23:29:13 +08:00
The preferred method for setting the damage region on compositor protocol versions 4 and above is to use wl_surface.damage_buffer. Use this when available and only fall back to wl_surface.damage on older versions. Bumps the highest supported version of wl_compositor to version 4.