X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=scripts%2Fmakefont.py;fp=scripts%2Fmakefont.py;h=8cc9b17c6e49de535f9b769c6e141d395e9ac8a0;hb=49758ab622d2e8ed4b3a60d7b9afc4abd741300c;hp=11d83794205cebad76b5526e088aa16d0d022df5;hpb=f07dffb230b53efcf5e2706493b065f020077fdc;p=libs%2Fgl.git 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")