From 49758ab622d2e8ed4b3a60d7b9afc4abd741300c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 21 Apr 2014 10:40:17 +0300 Subject: [PATCH] Use make_tex's wrap parameter in makefont.py --- scripts/makefont.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/makefont.py b/scripts/makefont.py index 11d83794..8cc9b17c 100755 --- a/scripts/makefont.py +++ b/scripts/makefont.py @@ -37,8 +37,7 @@ def make_font(fn, size): raise Exception("Could not execute ttf2png") result = "texture\n{\n" - result += "wrap CLAMP_TO_EDGE;\n" - result += maketex.make_tex("makefont-tmp.png") + result += maketex.make_tex("makefont-tmp.png", wrap="CLAMP_TO_EDGE") result += "};\n" result += convert_def("makefont-tmp.def") -- 2.43.0