summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/cube.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-17 02:10:31 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-17 02:10:31 +0000
commit7b6990e55aa0671e09fe8ab79d33333c5f894b32 (patch)
tree7ee57b2e21aae358369c19bc8ed1204e6bdf24ac /beryl-plugins/src/cube.c
parent249255b64c12cc93ee23a6f10190a70b53d8092f (diff)
downloadmarex-dev-7b6990e55aa0671e09fe8ab79d33333c5f894b32.tar.gz
marex-dev-7b6990e55aa0671e09fe8ab79d33333c5f894b32.tar.bz2
Fixed flicker?
git-svn-id: file:///beryl/trunk@1813 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/cube.c')
-rw-r--r--beryl-plugins/src/cube.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/beryl-plugins/src/cube.c b/beryl-plugins/src/cube.c
index 8cb01d5..45f7e71 100644
--- a/beryl-plugins/src/cube.c
+++ b/beryl-plugins/src/cube.c
@@ -2116,6 +2116,7 @@ cubePaintTransformedScreen(CompScreen * s,
&faces[fc]);
fc++;
sa.yRotate -= 360.0f / size;
+
xMove++;
}
@@ -2338,8 +2339,7 @@ cubePaintTransformedScreen(CompScreen * s,
if (capsReversed()) {
glNormal3f(0.0, -1.0, 0.0);
if (hsize == 4)
- glRotatef(270.0f, 0.0f, 1.0f,
- 0.0f);
+ glRotatef(270.0f, 0.0f, 1.0f,0.0f);
cubeDrawCubeCap(s, hsize,
cs->nvertices >> 1,
&cs->cubeCapBottom,