summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/3d.c b/3d.c
index da88a90..be857c3 100644
--- a/3d.c
+++ b/3d.c
@@ -137,7 +137,7 @@ tdPreparePaintScreen (CompScreen *s,
TD_SCREEN (s);
CUBE_SCREEN (s);
- active = (cs->rotationState != RotationNone) &&
+ active = (cs->rotationState != RotationNone) && s->hsize > 2 &&
!(tdGetManualOnly(s) && (cs->rotationState != RotationManual));
amount = ((float)msSinceLastPaint * tdGetSpeed (s) / 1000.0);