freebsd-ports/games/xptools/files/patch-DEMIO.cpp
Kurt Jaeger ca8d1fcedd games/xptools: fix build for 11.2 and current
- lots of fixes

PR:		229517
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Approved by:	Michael Danilov <mike.d.ft402@gmail.com> (maintainer)
2018-07-29 18:49:38 +00:00

11 lines
372 B
C++

--- src/XESCore/DEMIO.cpp.orig 2018-07-04 19:58:36 UTC
+++ src/XESCore/DEMIO.cpp
@@ -1715,7 +1715,7 @@ bool WriteNormalWithHeight(const string&
}
printf("Saving: %s\n", out_file.c_str());
- if(WriteBitmapToPNG(&image, out_file.c_str(), NULL, NULL, 2.2f))
+ if(WriteBitmapToPNG(&image, out_file.c_str(), NULL, 0, 2.2f))
{
DestroyBitmap(&image);
return false;