summaryrefslogtreecommitdiff
path: root/graphics/asymptote/glrender.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/glrender.h')
-rw-r--r--graphics/asymptote/glrender.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/asymptote/glrender.h b/graphics/asymptote/glrender.h
index 6b99611dfe..2b3285b157 100644
--- a/graphics/asymptote/glrender.h
+++ b/graphics/asymptote/glrender.h
@@ -44,6 +44,9 @@
#endif
#ifdef HAVE_LIBOSMESA
+#ifndef APIENTRY
+#define APIENTRY
+#endif
#include <GL/osmesa.h>
#endif
@@ -61,6 +64,9 @@
#endif
#ifdef HAVE_LIBOSMESA
+#ifndef APIENTRY
+#define APIENTRY
+#endif
#include <GL/osmesa.h>
#endif
@@ -165,7 +171,8 @@ projection camera(bool user=true);
void glrender(const string& prefix, const camp::picture* pic,
const string& format, double width, double height, double angle,
double zoom, const camp::triple& m, const camp::triple& M,
- const camp::pair& shift, const camp::pair& margin, double *t,
+ const camp::pair& shift, const camp::pair& margin,
+ double *t, double *tup,
double *background, size_t nlights, camp::triple *lights,
double *diffuse, double *specular, bool view, int oldpid=0);