From f451cc72cd8368131866a060adbcddb4a6e548a0 Mon Sep 17 00:00:00 2001 From: Andrew Barbarello Date: Sun, 20 Dec 2015 21:52:40 -0500 Subject: [PATCH] don't specify a filler transformation when writing RGBA Apparently fixes the failure of Texture Font Generator to write the necessary PNGs. --- src/Texture Font Generator/Utils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Texture Font Generator/Utils.cpp b/src/Texture Font Generator/Utils.cpp index 57941f5c8d..8cbc9b0795 100644 --- a/src/Texture Font Generator/Utils.cpp +++ b/src/Texture Font Generator/Utils.cpp @@ -180,7 +180,6 @@ bool SavePNG( FILE *f, char szErrorbuf[1024], const Surface *pSurf ) PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE ); png_write_info( pPng, pInfo ); - png_set_filler( pPng, 0, PNG_FILLER_AFTER ); png_byte *pixels = (png_byte *) pSurf->pRGBA; for( int y = 0; y < pSurf->iHeight; y++ )