summaryrefslogtreecommitdiff
path: root/3d.c
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-09-23 13:27:53 +0200
committerDanny Baumann <dannybaumann@web.de>2007-09-23 13:27:53 +0200
commite687a32a733a66b4ed26c7590e03e8744577c746 (patch)
tree38ce0694cb7d6171d6a35af6caee291980c1f2a2 /3d.c
parent8d545da949e49c26273f8fafca2467bd44db93bf (diff)
download3d-e687a32a733a66b4ed26c7590e03e8744577c746.tar.gz
3d-e687a32a733a66b4ed26c7590e03e8744577c746.tar.bz2
Properly initialize variables.
Diffstat (limited to '3d.c')
-rw-r--r--3d.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/3d.c b/3d.c
index 882f041..7a69e6e 100644
--- a/3d.c
+++ b/3d.c
@@ -806,6 +806,7 @@ tdInitScreen (CompPlugin *p,
tds->basicScale = 1.0;
tds->currentScale = 1.0;
tds->tdWindowExists = FALSE;
+ tds->test = FALSE;
tds->first = NULL;
tds->last = NULL;
@@ -855,9 +856,10 @@ tdInitWindow (CompPlugin *p,
if (!tdw)
return FALSE;
- tdw->is3D = FALSE;
- tdw->prev = NULL;
- tdw->next = NULL;
+ tdw->is3D = FALSE;
+ tdw->prev = NULL;
+ tdw->next = NULL;
+ tdw->depth = 0.0f;
w->base.privates[tds->windowPrivateIndex].ptr = tdw;