mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 03:49:03 +00:00
9e1bb31922
The fallback for when glGetTexImage is not available renders the texture to the framebuffer to read the data using glReadPixels. This patch just sets the COGL_MATERIAL_FILTER_NEAREST filter mode on the material before rendering to avoid linear filtering which would alter the texture data.