From 7f9e6de676f22a95396f91079030b039ace2245f Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 3 Oct 2012 01:14:27 +0200 Subject: [PATCH] Increase the range of the blur control. --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index a5890a3..5e02d70 100644 --- a/main.cpp +++ b/main.cpp @@ -77,7 +77,7 @@ void mouse(int x, int y) } else if (yf >= 0.70f && yf < 0.72f && xf < 0.2f) { inner_radius = (xf / 0.2f); } else if (yf >= 0.75f && yf < 0.77f && xf < 0.2f) { - blur_radius = (xf / 0.2f) * 10.0f; + blur_radius = (xf / 0.2f) * 100.0f; } } @@ -240,7 +240,7 @@ int main(int argc, char **argv) draw_saturation_bar(0.6f, saturation / 4.0f); draw_saturation_bar(0.65f, radius); draw_saturation_bar(0.70f, inner_radius); - draw_saturation_bar(0.75f, blur_radius / 10.0f); + draw_saturation_bar(0.75f, blur_radius / 100.0f); SDL_GL_SwapBuffers(); check_error(); -- 2.39.2