summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorLutz Mueller <lutz@users.sourceforge.net>2001-10-26 12:21:50 +0000
committerLutz Mueller <lutz@users.sourceforge.net>2001-10-26 12:21:50 +0000
commit7a78a3261f94fcce29539be8ec6cc1b7f6e0e8a9 (patch)
tree64136dbd4c944687dd27ed68f8fa729bb82d8274 /frontends
parentf83ebcd01df675458060a267ec19304da004210a (diff)
downloadlibgphoto2-7a78a3261f94fcce29539be8ec6cc1b7f6e0e8a9.tar.gz
Use render instead of renderpalette...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2755 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'frontends')
-rw-r--r--frontends/command-line/gphoto2-cmd-capture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/command-line/gphoto2-cmd-capture.c b/frontends/command-line/gphoto2-cmd-capture.c
index dd0347f86..813ac8ee4 100644
--- a/frontends/command-line/gphoto2-cmd-capture.c
+++ b/frontends/command-line/gphoto2-cmd-capture.c
@@ -56,7 +56,6 @@ gp_cmd_capture_preview (Camera *camera, CameraFile *file)
int result, event, contrast, bright;
aa_context *c;
aa_renderparams *params;
- aa_palette palette;
c = aa_autoinit (&aa_defparams);
if (!c)
@@ -150,7 +149,7 @@ gp_cmd_capture_preview (Camera *camera, CameraFile *file)
return (GP_OK);
}
- aa_renderpalette (c, palette, params, 0, 0,
+ aa_render (c, params, 0, 0,
aa_scrwidth (c), aa_scrheight (c));
aa_flush (c);