forked from joejulian/gio
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>