summaryrefslogtreecommitdiff
path: root/plot/vrml.c
diff options
context:
space:
mode:
Diffstat (limited to 'plot/vrml.c')
-rw-r--r--plot/vrml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plot/vrml.c b/plot/vrml.c
index 5b3f9a1..0121c53 100644
--- a/plot/vrml.c
+++ b/plot/vrml.c
@@ -877,7 +877,7 @@ double cc[3] /* Surface color, cc == NULL or cc[0] < 0.0 */
fprintf(s->fp," ></Material>\n");
/* Hack to workaround bugs in x3dom trasparency */
if (s->fmt == fmt_x3dom && trans > 0.0)
- fprintf(s->fp," <DepthMode readOnly='true'></depthMode>\n", trans);
+ fprintf(s->fp," <DepthMode readOnly='true'></depthMode>\n");
fprintf(s->fp," </Appearance>\n");
fprintf(s->fp," </Shape>\n");
}