From d9e9f33c3210b71c07c4268415ff9b1555819b3f Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sat, 13 Sep 2008 00:02:38 -0700 Subject: Major changes. Optional XShm support, bilinear scaling, caching WIP --- src/jpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jpeg.c') diff --git a/src/jpeg.c b/src/jpeg.c index 797bdb4..5745541 100644 --- a/src/jpeg.c +++ b/src/jpeg.c @@ -53,8 +53,8 @@ static struct image *jpeg_open(FILE *f){ jpeg_calc_output_dimensions(&j->cinfo); - j->img.width = j->cinfo.output_width; - j->img.height = j->cinfo.output_height; + j->img.bufwidth = j->cinfo.output_width; + j->img.bufheight = j->cinfo.output_height; return (struct image *)j; } -- cgit v1.2.3