diff options
author | Danny Baumann <dannybaumann@web.de> | 2007-06-21 18:15:46 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2007-06-21 18:15:46 +0200 |
commit | 54024dda4def77aa1d369253e4fb4d9be94aa449 (patch) | |
tree | 5d2a690e383b7b370d4a42a91146e7821d2c5c47 /plugins/cube.c | |
parent | 6873aaeedb567995afcb460042ae9a2b909de050 (diff) |
Added rotation state.
This variable should be set appropriately by plugins rotating the cube.
Diffstat (limited to 'plugins/cube.c')
-rw-r--r-- | plugins/cube.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |