X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Ftronbit.c;h=3ab69f1ddb9d67f43154e9459b709cb240fe97ee;hp=261aca3c2f214263ea111e8c05ebc4af9bea97ec;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hpb=c70f94f648d51bb4828193124f325fa52b0e57f3 diff --git a/hacks/glx/tronbit.c b/hacks/glx/tronbit.c index 261aca3c..3ab69f1d 100644 --- a/hacks/glx/tronbit.c +++ b/hacks/glx/tronbit.c @@ -505,7 +505,6 @@ draw_bit (ModeInfo *mi) glPushMatrix (); glRotatef(current_device_rotation(), 0, 0, 1); - glScalef(1.1, 1.1, 1.1); { @@ -514,10 +513,7 @@ draw_bit (ModeInfo *mi) glTranslatef((x - 0.5) * 11, (y - 0.5) * 5, (z - 0.5) * 3); - - glRotatef(-current_device_rotation(), 0, 0, 1); gltrackball_rotate (bp->trackball); - glRotatef(current_device_rotation(), 0, 0, 1); get_rotation (bp->rot, &x, &y, &z, !bp->button_down_p); glRotatef (x * 360, 1.0, 0.0, 0.0);