diff options
author | Ton Roosendaal <ton@blender.org> | 2004-01-22 15:59:46 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-01-22 15:59:46 +0300 |
commit | d4fc04f76a5e6e26aadaddee7debf5416a25bc8d (patch) | |
tree | 7e2626b8ad1d2e02fb24bc3ede584437eab038bd /source/blender/imbuf | |
parent | f844d011a27171b018208ef1982592f00fd54493 (diff) |
- increased max targa size to 8192x8192
was done before by Phase in tuho1, and no error found...
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/targa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/targa.c b/source/blender/imbuf/intern/targa.c index 5698b14bd28..0ad4d0ae77d 100644 --- a/source/blender/imbuf/intern/targa.c +++ b/source/blender/imbuf/intern/targa.c @@ -358,8 +358,8 @@ static int checktarga(TARGA *tga, unsigned char *mem) return(0); } if (tga->mapsize && tga->mapbits > 32) return(0); - if (tga->xsize <= 0 || tga->xsize >= 4096) return(0); - if (tga->ysize <= 0 || tga->ysize >= 4096) return(0); + if (tga->xsize <= 0 || tga->xsize >= 8192) return(0); + if (tga->ysize <= 0 || tga->ysize >= 8192) return(0); if (tga->pixsize > 32) return(0); if (tga->pixsize == 0) return(0); return(1); |