summaryrefslogtreecommitdiffstats
path: root/hacks/glx/voronoi.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:23:46 +0200
committerSimon Rettberg2021-04-06 14:23:46 +0200
commit26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9 (patch)
treea51e1637554bcd84e63cccb1cb220c898a2c4ee8 /hacks/glx/voronoi.c
parent5.44 (diff)
downloadxscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.gz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.xz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.zip
xscreensaver 6.00
Diffstat (limited to 'hacks/glx/voronoi.c')
-rw-r--r--hacks/glx/voronoi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hacks/glx/voronoi.c b/hacks/glx/voronoi.c
index 01b3ccd..d2c3bb7 100644
--- a/hacks/glx/voronoi.c
+++ b/hacks/glx/voronoi.c
@@ -14,8 +14,6 @@
"*suppressRotationAnimation: True\n" \
# define release_voronoi 0
-#undef countof
-#define countof(x) (sizeof((x))/sizeof((*x)))
#define BELLRAND(n) ((frand((n)) + frand((n)) + frand((n))) / 3)
@@ -339,7 +337,7 @@ reshape_voronoi (ModeInfo *mi, int width, int height)
int rot = current_device_rotation();
glTranslatef (0.5, 0.5, 0);
- // glScalef(0.19, 0.19, 0.19);
+ /* glScalef(0.19, 0.19, 0.19); */
if (rot == 180 || rot == -180) {
glTranslatef (1, 1, 0);