summaryrefslogtreecommitdiffstats
path: root/hacks/glx/voronoi.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/glx/voronoi.c
parentMaybe not remove, but ... (diff)
downloadxscreensaver-openslx.tar.gz
xscreensaver-openslx.tar.xz
xscreensaver-openslx.zip
xscreensaver 6.00v28r1openslx
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);