Change Coordinate System to Top-Lep

How I can change coordinate system from bottom-left to top-left? (Like DirectX coordinate system)

Just subtract your Y coordinates from screen height