mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
![Neil Roberts](/assets/img/avatar_default.png)
The GLES2 backend for Cogl is failing to compile because GL_MAX_TEXTURE_UNITS is not defined. Let's define it and provide a wrapper which uses GL_MAX_TEXTURE_IMAGE_UNITS or COGL_GLES2_MAX_TEXTURE_UNITS, whichever is the smallest.