mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
f475087296
The opengl example has a screenshot functionality that renders to a non-sRGB texture, whereas window rendering is to a sRGB capable EGL surface. The opengl driver detects the switch from an sRGB capable output to a non-sRGB capable output, but not the switch back. This change releases the emulation framebuffer on the switch back. Signed-off-by: Elias Naur <mail@eliasnaur.com>