From ae17f63be8a94d118dd80e7cff1367f495011424 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 2 Oct 2003 10:05:57 +0000 Subject: - changed a couple of shorts to ints, to allow images larger than 8192 pixels. I dont have a lot of mem here though, so others should test too! --- source/blender/imbuf/intern/filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/imbuf/intern/filter.c') diff --git a/source/blender/imbuf/intern/filter.c b/source/blender/imbuf/intern/filter.c index aac5b2c625d..74f9ec4508d 100644 --- a/source/blender/imbuf/intern/filter.c +++ b/source/blender/imbuf/intern/filter.c @@ -97,7 +97,7 @@ static void filtcolum(unsigned char *point, int y, int skip) void IMB_filtery(struct ImBuf *ibuf) { unsigned char *point; - short x,y,skip; + int x, y, skip; point = (unsigned char *)ibuf->rect; x = ibuf->x; @@ -120,7 +120,7 @@ void IMB_filtery(struct ImBuf *ibuf) void imb_filterx(struct ImBuf *ibuf) { unsigned char *point; - short x,y,skip; + int x, y, skip; point = (unsigned char *)ibuf->rect; x = ibuf->x; -- cgit v1.2.3