summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/cube.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-13 07:52:23 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-13 07:52:23 +0000
commitde89650b0863c582d1e9b9ace4ee5cf1bc2af576 (patch)
tree2af15d995cfe992376927274cfbaa5027907a2c3 /beryl-plugins/src/cube.c
parent6f2ce07a1d85c262cb9e7375f387eaaf3bed9a19 (diff)
downloadmarex-dev-de89650b0863c582d1e9b9ace4ee5cf1bc2af576.tar.gz
marex-dev-de89650b0863c582d1e9b9ace4ee5cf1bc2af576.tar.bz2
switcher:
* hide active window too during ring switcher mode (should be made optional in the future) cube: * apply patch from previous rev to trunk, fixes cube caps being jumpy git-svn-id: file:///beryl/trunk@4015 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/cube.c')
-rw-r--r--beryl-plugins/src/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/cube.c b/beryl-plugins/src/cube.c
index 36436f4..d2289d9 100644
--- a/beryl-plugins/src/cube.c
+++ b/beryl-plugins/src/cube.c
@@ -2491,11 +2491,11 @@ cubePaintTransformedScreen(CompScreen * s,
else
{
glNormal3f(0.0, 1.0, 0.0);
+ glRotatef(360.0f-(360.0f/(float)hsize), 0.0f, 1.0f, 0.0f);
cubeDrawCubeCap(s, hsize, 0,
&cs->cubeCapTop,
&cs->cubeCapBottom, cs->desktopOpacity);
- glRotatef(360.0f-(360.0f/(float)hsize), 0.0f, 1.0f, 0.0f);
glNormal3f(0.0, 1.0, 0.0);
cubeDrawCubeCap(s, hsize,
cs->nvertices >> 1,