gsk: Fix rendering big textures with offsets
authorMatthias Clasen <mclasen@redhat.com>
Mon, 1 May 2023 18:46:30 +0000 (14:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 1 May 2023 18:46:30 +0000 (14:46 -0400)
commitb79d4a3a22441efe61d0cfc4467704e45f205d10
treee91b7a1510179ed6f43039b8d612779c679fbd36
parent33ab588d4e2f74d67e118cdd7d81d4d009fe6828
gsk: Fix rendering big textures with offsets

When slicing the texture, the GL renderer was
forgetting to apply the viewport origin. This
shows up when rendering things with negative
scales, leading to negative origins.
gsk/gl/gskglrenderer.c