forked from joejulian/gio
86330faca6
For some reason, the Android emulator OpenGL implementation needs the output framebuffer current when eglSwapBuffers is called; otherwise sRGB emulation breaks. We used to restore the default FBO explicitly,9b5e9ae607restored it implicitly through automatic state restoring, but30ecf75a0fbroke that by only saving and restoring shared context state. This change restores the explicit behaviour for non-shared contexts. Signed-off-by: Elias Naur <mail@eliasnaur.com>