meta-background-actor: Style fix

https://bugzilla.gnome.org/show_bug.cgi?id=786618
This commit is contained in:
Alessandro Bono 2017-08-20 13:10:31 +02:00
parent dd4ad4efc4
commit 7ba44e7945

View File

@ -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;