mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 15:44:10 +00:00
25cf5979e6
The fallback for when glGetTexImage is not available draws parts of the texture to the framebuffer and uses glReadPixels to extract the data. However it was using cogl_rectangle to draw and then immediately using raw glReadPixels to fetch the data. This won't cause a journal flush so the rectangle won't necessarily have hit the framebuffer yet. Instead it now uses cogl_read_pixels which does flush the journal.