gl: Fix copy&paste error in blur shader

This commit is contained in:
Timm Bäder 2018-01-08 18:36:48 +01:00
parent 8f3cb2658a
commit cd2a53851b

View File

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