Commit 3dbc6a40ae8cfbed8f2d65310274a1dd1391d099

Sam Lantinga 2022-12-26T10:24:25

render: only enable clipping when the rectangle is valid Fixes https://github.com/libsdl-org/SDL/issues/6896 (cherry picked from commit 00f05dcf49602889733262fc810386592ff51736)