Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-10-02 14:05:57 +0400
committerTon Roosendaal <ton@blender.org>2003-10-02 14:05:57 +0400
commitae17f63be8a94d118dd80e7cff1367f495011424 (patch)
treeb2814eb5145260408a4502462dcc370bf084ef05 /source/blender/imbuf/intern/filter.c
parentb843c8a0ea40b0089e522f11b40eee9cb0801232 (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.c4
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;