From cd2a53851b39fc1a97196aff031e6e6968abd885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Mon, 8 Jan 2018 18:36:48 +0100 Subject: [PATCH] gl: Fix copy&paste error in blur shader --- gsk/resources/glsl/blur.fs.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));