From 7af9392688917662e4b2c7cdee0f8a05854b9c90 Mon Sep 17 00:00:00 2001 From: megazig Date: Fri, 20 Aug 2010 05:46:43 -0500 Subject: switch default MIN/MAG FILTER to match the usual value --- zetsubou/tpl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'zetsubou/tpl.c') diff --git a/zetsubou/tpl.c b/zetsubou/tpl.c index ad41e71..41c7b67 100644 --- a/zetsubou/tpl.c +++ b/zetsubou/tpl.c @@ -990,8 +990,8 @@ int TPL_ConvertFromGDs(const u32 count, char *gds[], char outname[], u32 format, printf("Dimensions: %dx%d\n", width, height); h.width = be16(width); h.height = be16(height); - h.min = be32(TPL_MIN_FILTER_NORMAL); - h.mag = be32(TPL_MAG_FILTER_NORMAL); + h.min = be32(TPL_MIN_FILTER_CLAMP); + h.mag = be32(TPL_MAG_FILTER_CLAMP); fwrite(&h.height, 2, 1, out); fwrite(&h.width, 2, 1, out); fwrite(&h.format, 4, 1, out); @@ -1347,8 +1347,8 @@ int TPL_ConvertFromBMPs(const u32 count, char *bmps[], char outname[], u32 forma printf("Dimensions: %dx%d\n", bi.width, bi.height); h.width = be16(bi.width); h.height = be16(bi.height); - h.min = be32(TPL_MIN_FILTER_NORMAL); - h.mag = be32(TPL_MAG_FILTER_NORMAL); + h.min = be32(TPL_MIN_FILTER_CLAMP); + h.mag = be32(TPL_MAG_FILTER_CLAMP); fwrite(&h.height, 2, 1, out); fwrite(&h.width, 2, 1, out); fwrite(&h.format, 4, 1, out); -- cgit v1.3.1