mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
405d529f44
In commit abe91784c4b I changed cogl-texture so that it would use the OpenGL mechanism to specify a different internal texture format from the image format so that it can do the conversion instead of Cogl. However under GLES the internal format and the image format must always be the same and it only supports a limited set of formats. This patch changes _cogl_texture_prepare_for_upload so that it does the conversion using the cogl bitmap code when compiling for GLES. http://bugzilla.openedhand.com/show_bug.cgi?id=2059