mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 20:08:56 +00:00
Neil Roberts
9fc9aa562e
cogl-texture-2d: Determine format before checking texture support
When entering cogl_texture_2d_new_from_bitmap the internal format can be COGL_PIXEL_FORMAT_ANY. This was causing _cogl_texture_2d_can_create to use an invalid GL format type. Mesa apparently ignores this but it was causing errors when Cogl is compiled with debugging under NVidia. http://bugzilla.openedhand.com/show_bug.cgi?id=2026
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%