diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-02 14:05:57 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-02 14:05:57 +0400 |
commit | ae17f63be8a94d118dd80e7cff1367f495011424 (patch) | |
tree | b2814eb5145260408a4502462dcc370bf084ef05 /source/blender/imbuf/intern/filter.c | |
parent | b843c8a0ea40b0089e522f11b40eee9cb0801232 (diff) |
- 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!
Diffstat (limited to 'source/blender/imbuf/intern/filter.c')
-rw-r--r-- | source/blender/imbuf/intern/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |