meta-background-actor: Style fix
https://bugzilla.gnome.org/show_bug.cgi?id=786618
This commit is contained in:
parent
dd4ad4efc4
commit
7ba44e7945
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ typedef enum {
|
|||
#define FRAGMENT_SHADER_CODE \
|
||||
"float t = 2.0 * length(position);\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" \
|
||||
|
||||
typedef struct _MetaBackgroundLayer MetaBackgroundLayer;
|
||||
|
|
Loading…
Reference in a new issue