summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/glrender.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/glrender.cc')
-rw-r--r--Build/source/utils/asymptote/glrender.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/glrender.cc b/Build/source/utils/asymptote/glrender.cc
index 9a0a78486b8..784638626f6 100644
--- a/Build/source/utils/asymptote/glrender.cc
+++ b/Build/source/utils/asymptote/glrender.cc
@@ -44,7 +44,7 @@ bool glthread=false;
bool initialize=true;
using camp::picture;
-using camp::drawImage;
+using camp::drawRawImage;
using camp::transform;
using camp::pair;
using camp::triple;
@@ -387,8 +387,9 @@ void Export()
if(w > h*Aspect) w=(int) (h*Aspect+0.5);
else h=(int) (w/Aspect+0.5);
// Render an antialiased image.
- drawImage *Image=new drawImage(data,fullWidth,fullHeight,
- transform(0.0,0.0,w,0.0,0.0,h),antialias);
+ drawRawImage *Image=new drawRawImage(data,fullWidth,fullHeight,
+ transform(0.0,0.0,w,0.0,0.0,h),
+ antialias);
pic.append(Image);
pic.shipout(NULL,Prefix,Format,0.0,false,View);
delete Image;