mirror of
https://github.com/brl/mutter.git
synced 2024-11-15 12:40:40 -05:00
89d8ebcbb0
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. |
||
---|---|---|
.. | ||
cogl |