--- compiz-0.8.0/include/compiz-core.h.ori 2009-03-11 06:25:36.447215855 +0000
+++ compiz-0.8.0/include/compiz-core.h 2009-02-20 12:09:30.000000000 +0000
@@ -1284,7 +1284,7 @@
float y;
float z;
float w;
- };
+ } a;
} CompVector;
/* XXX: ScreenPaintAttrib will be removed */
--- compiz-0.8.0/plugins/cube.c.ori 2009-03-11 06:27:35.305354777 +0000
+++ compiz-0.8.0/plugins/cube.c 2009-03-11 06:33:48.835066791 +0000
@@ -885,33 +885,33 @@
matrixMultiplyVector (&pntA, &points[0], &mvp);
- if (pntA.w < 0.0f)
+ if (pntA.a.w < 0.0f)
rv = !rv;
matrixVectorDiv (&pntA);
matrixMultiplyVector (&pntB, &points[1], &mvp);
- if (pntB.w < 0.0f)
+ if (pntB.a.w < 0.0f)
rv = !rv;
matrixVectorDiv (&pntB);
matrixMultiplyVector (&pntC, &points[2], &mvp);
matrixVectorDiv (&pntC);
-
-
+
+
- if (ortho.z > 0.0f)
+ if (ortho.a.z > 0.0f)
rv = !rv;
return rv;