summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/glrender.cc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-26 21:33:06 +0000
committerKarl Berry <karl@freefriends.org>2020-03-26 21:33:06 +0000
commit9d8ff0db40a3ccd5826fee73d7e3fb916b9f1841 (patch)
tree3b9d9b28b50a95993e93aef2033b44aee075a2c6 /Build/source/utils/asymptote/glrender.cc
parent43d422c5abd7a05708ebb2dab98b18043436fd08 (diff)
asy 2.65 sources
git-svn-id: svn://tug.org/texlive/trunk@54566 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/glrender.cc')
-rw-r--r--Build/source/utils/asymptote/glrender.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/glrender.cc b/Build/source/utils/asymptote/glrender.cc
index 8cbfe2e7cb2..e86df78c55b 100644
--- a/Build/source/utils/asymptote/glrender.cc
+++ b/Build/source/utils/asymptote/glrender.cc
@@ -108,6 +108,7 @@ namespace gl {
bool outlinemode=false;
bool glthread=false;
bool initialize=true;
+bool exporting=false;
using camp::picture;
using camp::drawRawImage;
@@ -560,13 +561,17 @@ void Export()
(orthographic ? trOrtho : trFrustum)(tr,xmin,xmax,ymin,ymax,-zmax,-zmin);
size_t count=0;
+ exporting=true;
do {
trBeginTile(tr);
drawscene(fullWidth,fullHeight);
++count;
} while (trEndTile(tr));
+ exporting=false;
+
if(settings::verbose > 1)
- cout << count << " tile" << (count != 1 ? "s" : "") << " drawn" << endl;
+ cout << count << " tile" << (count != 1 ? "s" : "") << " drawn"
+ << endl;
trDelete(tr);
picture pic;