From 54024dda4def77aa1d369253e4fb4d9be94aa449 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Thu, 21 Jun 2007 18:15:46 +0200 Subject: Added rotation state. This variable should be set appropriately by plugins rotating the cube. --- plugins/cube.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/cube.c') diff --git a/plugins/cube.c b/plugins/cube.c index d8f7c922..fee6a8a6 100644 --- a/plugins/cube.c +++ b/plugins/cube.c @@ -1864,6 +1864,8 @@ cubeInitScreen (CompPlugin *p, cs->outputXOffset = 0.0f; cs->outputYOffset = 0.0f; + cs->rotationState = RotationNone; + memset (cs->cleared, 0, sizeof (cs->cleared)); cubeUpdateOutputs (s); -- cgit v1.2.3