mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 23:55:39 +00:00
d1b35bf1d7
Switching to using a CAMetalLayer as the layer backing our NSView implementation broke programs such as the opengl example. Somehow, using ANGLE on top of a CAMetalLayer (but not a CAEAGLLayer) stops resizes from triggering redraws. This change invalidates the view in setFrameSize, to force a redraw and no longer rely on the implicit redraws. Signed-off-by: Elias Naur <mail@eliasnaur.com>