mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
d9effdad8e
To use glCopyTexSubImage2D on the Samsung J2 it's not enough to set GL_READ_FRAMEBUFFER. This change binds GL_FRAMEBUFFER, setting both READ_FRAMEBUFFER and DRAW_FRAMEBUFFER, fixing the issue. Setting only GL_READ_FRAMEBUFFER was also a genuine bug, because OpenGL ES 2.0 doesn't support it. Signed-off-by: Elias Naur <mail@eliasnaur.com>