qmlglsrc: read from the back buffer when use-default-fbo = TRUE
authorMatthew Waters <matthew@centricular.com>
Fri, 25 Oct 2019 11:03:18 +0000 (22:03 +1100)
committerMatthew Waters <matthew@centricular.com>
Fri, 25 Oct 2019 11:09:20 +0000 (22:09 +1100)
commitae80fa4731b729d7e546af212d08a93a555ff3c1
tree1736bdc11ec6729498b80cbfdc2d456c9ff56b5a
parent7f1e1d0d9d7760a13ab32dba1ab2ccec6cfe8942
qmlglsrc: read from the back buffer when use-default-fbo = TRUE

glReadBuffer(GL_COLOR_ATTACHMENT0) on the default framebuffer (0) is
invalid GL API usage and would result in a GL error being thrown.
ext/qt/qtwindow.cc