summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lange <klange@ogunderground.com>2008-02-04 15:41:22 -0500
committerKevin Lange <klange@ogunderground.com>2008-02-04 15:41:22 -0500
commita55fb7512090909d387bdee738a76549c9537ac8 (patch)
treeec11aaea55b9218a405a4d428119524c2891baab
parent1bbe4af8f4c96b196640b5004b5dac87c3e9ede1 (diff)
downloadwiitrack-a55fb7512090909d387bdee738a76549c9537ac8.tar.gz
wiitrack-a55fb7512090909d387bdee738a76549c9537ac8.tar.bz2
1 - .134ish = DEFAULT_Z_CAMERA... didn't notice that...
-rw-r--r--wiitrack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiitrack.c b/wiitrack.c
index c2c1a4f..6a557b9 100644
--- a/wiitrack.c
+++ b/wiitrack.c
@@ -340,7 +340,7 @@ static Bool WTPaintOutput(CompScreen *s, const ScreenPaintAttrib *sAttrib,
matrixTranslate (&zTransform,
wts->head.x,
wts->head.y,
- -0.134 + 1 - wts->head.z);
+ DEFAULT_Z_CAMERA - wts->head.z);
// All of our windows will be transformed because of this, so set the mask
mask |= PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_MASK;
// And wrap us into the paintOutput set