We use GL_RGBA internal format for RGBX texture while an imported RGBX texture uses GL_RGB8 as internal format since https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5034 On GLES host, glBlitFramebuffer doesn't work in such case because the internal format doesn't match. Fall back to GL to fix it. Signed-off-by: Lepton Wu <lepton@chromium.org> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Signed-off-by: Lepton Wu <lepton@chromium.org>macos/master
parent
9f6e5b9e9a
commit
9b1144b56c
Loading…
Reference in new issue