mirror of
https://github.com/brl/mutter.git
synced 2025-02-09 10:04:08 +00:00
![Neil Roberts](/assets/img/avatar_default.png)
In 6246c2bd6 I moved the code to add the boilerplate to a shader to a separate function and also made it so that the common boilerplate is added as a separate string to glShaderSource. However I didn't notice that the #define for the vertex and fragment shaders already includes the common part so it was being added twice. Mesa seems to accept this but it was causing problems on the IMG driver because COGL_VERSION was defined twice.