mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 23:54:09 +00:00
Neil Roberts
4bb08ba00b
cogl-pipeline: Flush the lighting params in common code not vertend
The lighting parameters such as the diffuse and ambient colors were previously only flushed in the fixed vertend. This meant that if a vertex shader was used then they would not be set. The lighting parameters are uniforms which are just as useful in a fragment shader so it doesn't really make sense to set them in the vertend. They are now flushed in the common cogl-pipeline-opengl code but the code is #ifdef'd for GLES2 because they need to be part of the progend in that case.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%