From Clement Boesch, "Fix remaining bit of Giflib5 usage"
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14485 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
3dd9f8d430
commit
43bdd32242
@ -560,7 +560,11 @@ GifImageStream** obj)
|
||||
*width_ret = giffile->SWidth;
|
||||
*height_ret = giffile->SHeight;
|
||||
*numComponents_ret = 4;
|
||||
#if (GIFLIB_MAJOR >= 5)
|
||||
DGifCloseFile(giffile, &Error);
|
||||
#else
|
||||
DGifCloseFile(giffile);
|
||||
#endif
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user