~ubuntu-branches/debian/sid/xscreensaver/sid

« back to all changes in this revision

Viewing changes to hacks/glx/glblur.c

  • Committer: Bazaar Package Importer
  • Author(s): Tormod Volden
  • Date: 2011-04-22 23:07:13 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110422230713-wcixfinu45mm7vsx
Tags: 5.13-1
* New upstream version 5.13
  - Passwords that contain UTF-8 non-Latin1 chars are now typeable
  - pt_BR translation (thanks Sérgio Cipolla!) (Closes: #586230)
  - Fix memory leak in gltext (LP: #768032)
* Build without gdm and libgnome2-dev (Closes: #618165)
* Add Suggests on gdm3 or kdm-gdmcompat because gdmflexiserver
  can be used for the "New Login" functionality (see bug #304406)
* Remove obsolete gdmflexiserver options
* xscreensaver.desktop changes:
  - Do not set StartupNotify.
  - Do not specify svg icon. Closes: #618723 (LP: #603222)
* Fix installation path for xscreensaver-daemon.desktop 
* debian/xscreensaver.preinst: Check version before
  deleting obsolete configuration files (Closes: #588288)
* Bump Standards-Version to 3.9.2 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* glblur --- radial blur using GL textures
2
 
 * Copyright (c) 2002-2008 Jamie Zawinski <jwz@jwz.org>
 
2
 * Copyright (c) 2002-2011 Jamie Zawinski <jwz@jwz.org>
3
3
 *
4
4
 * Permission to use, copy, modify, distribute, and sell this software and its
5
5
 * documentation for any purpose is hereby granted without fee, provided that
278
278
  GLfloat inc = 0.02 * (25.0 / times);
279
279
 
280
280
  GLfloat spost = 0;                /* starting texture coordinate offset */
281
 
  GLfloat alpha_inc = 0.9 / times;  /* transparency fade factor */
 
281
  GLfloat alpha_inc;                /* transparency fade factor */
282
282
  GLfloat alpha = 0.2;              /* initial transparency */
283
283
 
284
284
  glDisable (GL_TEXTURE_GEN_S);
402
402
  bp->glx_context = init_GL(mi);
403
403
 
404
404
  reshape_glblur (mi, MI_WIDTH(mi), MI_HEIGHT(mi));
 
405
  clear_gl_error(); /* WTF? sometimes "invalid op" from glViewport! */
405
406
 
406
407
  if (!wire)
407
408
    {