mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
Robert Bragg
89d8ebcbb0
[Cogl] Renames cogl_paint_init to cogl_clear and adds a cogl_disable_fog function
cogl_paint_init was a bit too miscellaneous; it mainly cleared the color, depth and stencil buffers but arbitrarily it also disabled fogging and lighting. It no longer disables lighting, since we know Cogl never enables lighting and disabling of fog is now handled with a seperate function. Since I noticed cogl_set_fog was taking a density argument documented as "Ignored" I've also added a mode argument to cogl_set_fog which exposes the exponential fog modes which can make use of the density.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%