Commit e63fd0e6 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Fix from Peter Wainwright to fix 4a => 4a scaling.

Mon Jan 31 12:38:50 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk-pixbuf/pixops/pixops.c (scale_line): Fix from Peter
	Wainwright to fix 4a => 4a scaling.
parent 1cfa0f5a
Mon Jan 31 12:38:50 2000 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/pixops.c (scale_line): Fix from Peter
Wainwright to fix 4a => 4a scaling.
2000-01-29 Mark Crichton <crichton@gimp.org>
* gdk-pixbuf-config: Oh dear, we weren't Telsa/Alan proof...
......
......@@ -54,7 +54,7 @@ libexec_LTLIBRARIES = \
$(PNM_LIB) \
$(BMP_LIB)
noinst_PROGRAMS = testpixbuf testpixbuf-drawable testanimation testpixbuf-scale
noinst_PROGRAMS = testpixbuf testpixbuf-drawable testanimation testpixbuf-scale testpixbuf-foo
DEPS = libgdk_pixbuf.la
INCLUDES = -I$(top_srcdir) -I$(top_builddir) \
......@@ -74,6 +74,7 @@ else
testpixbuf_LDADD = $(LDADDS) $(LIBART_LIBS) $(GNOME_LIBS) -lgmodule
testpixbuf_drawable_LDADD = $(LDADDS) $(GNOME_LIBS)
testpixbuf_scale_LDADD = $(LDADDS) $(GNOME_LIBS)
testpixbuf_foo_LDADD = $(LDADDS) $(GNOME_LIBS)
testanimation_LDADD = $(LDADDS) $(LIBART_LIBS) $(GNOME_LIBS) -lgmodule
endif
......
......@@ -711,9 +711,9 @@ scale_line (int *weights, int n_x, int n_y,
unsigned int ta;
ta = q[3] * line_weights[j];
r = ta * q[0];
g = ta * q[1];
b = ta * q[2];
r += ta * q[0];
g += ta * q[1];
b += ta * q[2];
a += ta;
q += src_channels;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment