From bd827457475fa714dcc57baf4053e4492635d1fb Mon Sep 17 00:00:00 2001 From: mrwastl Date: Wed, 29 Jun 2011 18:21:15 +0200 Subject: bug fix in cPBMFile::Save() --- tools/genfont/genfont.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tools') diff --git a/tools/genfont/genfont.c b/tools/genfont/genfont.c index 980c55b..775d142 100644 --- a/tools/genfont/genfont.c +++ b/tools/genfont/genfont.c @@ -158,13 +158,6 @@ int main(int argc, char *argv[]) } } - // invert image - for(int y=0; y < bitmap->Height(); y++) { - for(int x=0; x < bitmap->Width(); x++) { - bitmap->DrawPixel(x, y, GLCD::cColor(bitmap->GetPixel(x, y)).Invert()); - } - } - if (posX > 0) // write last end marker fprintf(descFile, "%d\n", posX); fileName = outputName + ".pbm"; -- cgit v1.2.3