X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fjuggler3d.c;h=1a7fe36b0a1a47ca939d3b3208a54a2adce03cf4;hb=3f1091236d800c43a3124c44c7da54e53f205b13;hp=02c1f179dddea37f648e4c69e1abd2e30f1b19d9;hpb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;p=xscreensaver diff --git a/hacks/glx/juggler3d.c b/hacks/glx/juggler3d.c index 02c1f179..1a7fe36b 100644 --- a/hacks/glx/juggler3d.c +++ b/hacks/glx/juggler3d.c @@ -2908,6 +2908,7 @@ draw_juggle (ModeInfo *mi) glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glPushMatrix (); + glRotatef(current_device_rotation(), 0, 0, 1); glTranslatef(0,-3,0); @@ -2919,7 +2920,6 @@ draw_juggle (ModeInfo *mi) (z - 0.5) * 15); gltrackball_rotate (sp->trackball); - glRotatef(current_device_rotation(), 0, 0, 1); get_rotation (sp->rot, &x, &y, &z, !sp->button_down_p);