mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-10-07 02:52:56 +08:00
Battle for Wesnoth apparently relies on being able to disable rendering of UI elements by setting the clip rectangle to be empty. Resolves: https://github.com/libsdl-org/SDL/issues/6896 Fixes:00f05dcf"render: only enable clipping when the rectangle is valid" Signed-off-by: Simon McVittie <smcv@collabora.com> (cherry picked from commit8ad043fc38)