From cd4a60f5362b951826de8fc4218d30969c38095c Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 6 Dec 2002 19:48:37 +0000 Subject: sgefants patch to remove the License Key stuff. (I noticed its not completely gone yet from the blender/source dir) But its a big step in the right direction if it doesn't enable all of the functionatlity already... (Using cscope for LICENSE_KEY_VALID still turns up some stuff) Kent -- mein@cs.umn.edu --- source/blender/imbuf/intern/writeimage.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'source/blender/imbuf/intern/writeimage.c') diff --git a/source/blender/imbuf/intern/writeimage.c b/source/blender/imbuf/intern/writeimage.c index 015a062f1cf..49d827fcce5 100644 --- a/source/blender/imbuf/intern/writeimage.c +++ b/source/blender/imbuf/intern/writeimage.c @@ -58,10 +58,8 @@ #endif -short (*IMB_fp_png_encode)(struct ImBuf *ibuf, int file, int flags) = 0; - short IMB_saveiff(struct ImBuf *ibuf,char *naam,int flags) -{ +{ short ok=TRUE,delpl=FALSE; int file = -1; @@ -81,8 +79,8 @@ short IMB_saveiff(struct ImBuf *ibuf,char *naam,int flags) } } - if (IS_png(ibuf) && IMB_fp_png_encode) { - ok = IMB_fp_png_encode(ibuf,file,flags); + if (IS_png(ibuf)) { + ok = IMB_png_encode(ibuf,file,flags); if (ok) { close (file); return (ok); -- cgit v1.2.3