summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-01-08 18:36:48 +0100
committerTimm Bäder <mail@baedert.org>2018-01-08 19:23:06 +0100
commitcd2a53851b39fc1a97196aff031e6e6968abd885 (patch)
tree9c3aa9ff46a617266038a40c35506b8a2f5935ef /gsk
parent8f3cb2658a79d20912b6f2ec96bc7e6bbdaeb067 (diff)
downloadgtk+-cd2a53851b39fc1a97196aff031e6e6968abd885.tar.gz
gl: Fix copy&paste error in blur shader
Diffstat (limited to 'gsk')
-rw-r--r--gsk/resources/glsl/blur.fs.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsk/resources/glsl/blur.fs.glsl b/gsk/resources/glsl/blur.fs.glsl
index 8cf1e2868c..78107aa78b 100644
--- a/gsk/resources/glsl/blur.fs.glsl
+++ b/gsk/resources/glsl/blur.fs.glsl
@@ -18,7 +18,7 @@ vec4 blur_pixel (in vec2 uv) {
for (int y = -half_radius; y < half_radius; y ++) {
float fy = Gaussian (radius / 2.0, float(y));
- float offset_y = y * pixel_size_x;
+ float offset_y = y * pixel_size_y;
for (int x = -half_radius; x < half_radius; x ++) {
float fx = Gaussian (radius / 2.0, float(x));