gsk: Avoid reuploading textures too much
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Mar 2023 02:28:27 +0000 (22:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Mar 2023 02:31:10 +0000 (22:31 -0400)
commit8aa095c4d729351162869f977880e6317a46ea84
tree0384c1a4478205b6b9414bff2f76d95a56f5baa7
parentf96d041246d55ac0a852f303647cece688b95c27
gsk: Avoid reuploading textures too much

When filtering changes for an already-cached
texture, we need to clear the render data
before setting the new one, otherwise it
does not take and we end up reuploading
the texture every frame.
gsk/gl/gskgldriver.c