From http://www.jwz.org/xscreensaver/xscreensaver-5.22.tar.gz
[xscreensaver] / hacks / glx / companion.c
index e6e14733700efd7496098ddd3763e7e186830680..b9a290e3ba8716a606401b2d1df090e2cc615b61 100644 (file)
@@ -19,7 +19,6 @@
 
 
 #define DEFAULTS       "*delay:        30000       \n" \
-                       "*count:        1           \n" \
                        "*showFPS:      False       \n" \
                        "*count:        3           \n" \
                        "*wireframe:    False       \n" \
@@ -575,6 +574,7 @@ draw_cube (ModeInfo *mi)
   glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
 
   glPushMatrix ();
+  glRotatef(current_device_rotation(), 0, 0, 1);
   gltrackball_rotate (bp->trackball);
 
   glScalef (2, 2, 2);