X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fglblur.c;h=f2edb3d9b858d38531876f3b7878fbe8dea606e8;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hp=7d358d127fdb09c908fb4200a4bc047c0eaba7b0;hpb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;p=xscreensaver diff --git a/hacks/glx/glblur.c b/hacks/glx/glblur.c index 7d358d12..f2edb3d9 100644 --- a/hacks/glx/glblur.c +++ b/hacks/glx/glblur.c @@ -46,7 +46,7 @@ #define DEF_SPIN "XYZ" #define DEF_WANDER "True" -#define DEF_BLURSIZE "15" +#define DEF_BLUR_SIZE "15" typedef struct metaball metaball; @@ -99,7 +99,7 @@ static XrmOptionDescRec opts[] = { static argtype vars[] = { {&do_spin, "spin", "Spin", DEF_SPIN, t_String}, {&do_wander, "wander", "Wander", DEF_WANDER, t_Bool}, - {&blursize, "blurSize","BlurSize", DEF_BLURSIZE, t_Int}, + {&blursize, "blurSize","BlurSize", DEF_BLUR_SIZE, t_Int}, }; ENTRYPOINT ModeSpecOpt glblur_opts = {countof(opts), opts, countof(vars), vars, NULL}; @@ -278,7 +278,7 @@ overlay_blur_texture (ModeInfo *mi) GLfloat inc = 0.02 * (25.0 / times); GLfloat spost = 0; /* starting texture coordinate offset */ - GLfloat alpha_inc = 0.9 / times; /* transparency fade factor */ + GLfloat alpha_inc; /* transparency fade factor */ GLfloat alpha = 0.2; /* initial transparency */ glDisable (GL_TEXTURE_GEN_S);