summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/picture.cc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-18 23:33:08 +0000
committerKarl Berry <karl@freefriends.org>2009-05-18 23:33:08 +0000
commit0a3a4a0193ef03921995cac67f8c91c6e352d059 (patch)
tree4fd204ddd01ff808c75e91ce290a9b28a1e90696 /Build/source/utils/asymptote/picture.cc
parent7c769b8e95cd5bd87da30c618e5198d6d12461e1 (diff)
asymptote 1.73
git-svn-id: svn://tug.org/texlive/trunk@13217 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/picture.cc')
-rw-r--r--Build/source/utils/asymptote/picture.cc14
1 files changed, 8 insertions, 6 deletions
diff --git a/Build/source/utils/asymptote/picture.cc b/Build/source/utils/asymptote/picture.cc
index cade08cceca..26023157229 100644
--- a/Build/source/utils/asymptote/picture.cc
+++ b/Build/source/utils/asymptote/picture.cc
@@ -708,6 +708,7 @@ struct Communicate : public gc {
triple m;
triple M;
double *t;
+ double *background;
size_t nlights;
triple *lights;
double *diffuse;
@@ -723,8 +724,8 @@ void glrenderWrapper()
{
#ifdef HAVE_LIBGL
glrender(com.prefix,com.pic,com.format,com.width,com.height,com.angle,
- com.m,com.M,com.t,com.nlights,com.lights,com.diffuse,com.ambient,
- com.specular,com.viewportlighting,com.view);
+ com.m,com.M,com.t,com.background,com.nlights,com.lights,com.diffuse,
+ com.ambient,com.specular,com.viewportlighting,com.view);
#endif
}
@@ -733,9 +734,9 @@ extern bool glinitialize;
bool picture::shipout3(const string& prefix, const string& format,
double width, double height,
double angle, const triple& m, const triple& M,
- double *t, size_t nlights, triple *lights,
- double *diffuse, double *ambient, double *specular,
- bool viewportlighting, bool view)
+ double *t, double *background, size_t nlights,
+ triple *lights, double *diffuse, double *ambient,
+ double *specular, bool viewportlighting, bool view)
{
#ifdef HAVE_LIBGL
bounds3();
@@ -763,6 +764,7 @@ bool picture::shipout3(const string& prefix, const string& format,
com.m=m;
com.M=M;
com.t=t;
+ com.background=background;
com.nlights=nlights;
com.lights=lights;
com.diffuse=diffuse;
@@ -796,7 +798,7 @@ bool picture::shipout3(const string& prefix, const string& format,
if(glthread && !interact::interactive)
pthread_mutex_lock(&quitLock);
#endif
- glrender(prefix,this,outputformat,width,height,angle,m,M,t,
+ glrender(prefix,this,outputformat,width,height,angle,m,M,t,background,
nlights,lights,diffuse,ambient,specular,viewportlighting,View,
oldpid);
#ifdef HAVE_LIBPTHREAD