summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/cube.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-31 18:10:15 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-31 18:10:15 +0000
commit6048ef8c6fddc9ee6280a96ccc1a43009f572c70 (patch)
tree6e7f6888ca16b12d0311eadc6f9b63263f2453dc /beryl-plugins/src/cube.c
parent372608443273c5f15b2f4f14c2e3a78329719038 (diff)
downloadmarex-dev-6048ef8c6fddc9ee6280a96ccc1a43009f572c70.tar.gz
marex-dev-6048ef8c6fddc9ee6280a96ccc1a43009f572c70.tar.bz2
cube:
* fix cap coloration git-svn-id: file:///beryl/trunk@3489 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/cube.c')
-rw-r--r--beryl-plugins/src/cube.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/beryl-plugins/src/cube.c b/beryl-plugins/src/cube.c
index 8417970..de29239 100644
--- a/beryl-plugins/src/cube.c
+++ b/beryl-plugins/src/cube.c
@@ -1952,6 +1952,8 @@ cubeDrawCubeCap(CompScreen * s, int hsize, int arrayOffset,
else
cubeCap = NULL;
+ glColor4us(cs->color[0], cs->color[1], cs->color[2],
+ opacity);
glDrawArrays(GL_TRIANGLE_FAN, arrayOffset, cs->nvertices >> 1);
/*if (cubeCap && cubeCap->texture.name && s->hsize == 4)
{