mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
meta-background-actor: Style fix
https://bugzilla.gnome.org/show_bug.cgi?id=786618
This commit is contained in:
parent
dd4ad4efc4
commit
7ba44e7945
@ -115,7 +115,7 @@ typedef enum {
|
|||||||
#define FRAGMENT_SHADER_CODE \
|
#define FRAGMENT_SHADER_CODE \
|
||||||
"float t = 2.0 * length(position);\n" \
|
"float t = 2.0 * length(position);\n" \
|
||||||
"t = min(t, 1.0);\n" \
|
"t = min(t, 1.0);\n" \
|
||||||
"float pixel_brightness = 1.0 - t * vignette_sharpness;\n" \
|
"float pixel_brightness = 1.0 - t * vignette_sharpness;\n" \
|
||||||
"cogl_color_out.rgb = cogl_color_out.rgb * pixel_brightness;\n" \
|
"cogl_color_out.rgb = cogl_color_out.rgb * pixel_brightness;\n" \
|
||||||
|
|
||||||
typedef struct _MetaBackgroundLayer MetaBackgroundLayer;
|
typedef struct _MetaBackgroundLayer MetaBackgroundLayer;
|
||||||
|
Loading…
Reference in New Issue
Block a user