summaryrefslogtreecommitdiff
path: root/3d.c
diff options
context:
space:
mode:
Diffstat (limited to '3d.c')
-rw-r--r--3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/3d.c b/3d.c
index 03632ba..882f041 100644
--- a/3d.c
+++ b/3d.c
@@ -452,7 +452,7 @@ tdPaintWindow (CompWindow *w,
if (tds->test)
{
- if (tdGetWidth (s))
+ if (tdGetWidth (s) && (tdw->depth != 0.0f))
{
status = tdPaintWindowWithDepth (w, attrib, transform,
region, mask);