summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-04-10 11:42:52 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-04-10 11:42:52 +0200
commitdb7816be0cdc4f9aef3943ad9bf4af587902fcc3 (patch)
tree5cd30d718ea6e6baa3b0ed1f00d575cc2d928cdb
parent500fb6ac555001b500a093b6c3e570ea71bb438b (diff)
download3d-db7816be0cdc4f9aef3943ad9bf4af587902fcc3.tar.gz
3d-db7816be0cdc4f9aef3943ad9bf4af587902fcc3.tar.bz2
Removed dead code.
-rw-r--r--3d.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/3d.c b/3d.c
index 39480f4..094aa49 100644
--- a/3d.c
+++ b/3d.c
@@ -439,7 +439,6 @@ tdPostPaintViewport (CompScreen *s,
CompWalker walk;
float wDepth = 0.0;
float pointZ = cs->invert * cs->distance;
- Bool foundFtb = FALSE;
int offX, offY;
unsigned int newMask;
@@ -462,21 +461,12 @@ tdPostPaintViewport (CompScreen *s,
if (!tdw->is3D)
continue;
- if (foundFtb && FALSE)
- {
- tdw->ftb = TRUE;
- continue;
- }
-
tds->currentScale = tds->basicScale +
(tdw->depth * ((1.0 - tds->basicScale) /
tds->maxDepth));
tdw->ftb = (*cs->checkOrientation) (s, sAttrib, transform,
output, vPoints);
-
- if (tdw->ftb)
- foundFtb = TRUE;
}
}