aboutsummaryrefslogtreecommitdiff
path: root/zetsubou/tpl.c
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2010-08-20 05:46:43 -0500
committermegazig <megazig@megazig-desktop.(none)>2010-08-20 05:46:43 -0500
commit7af9392688917662e4b2c7cdee0f8a05854b9c90 (patch)
tree3082308c1aec1d0abbb1bc5b3c5bfe5cb53f4fec /zetsubou/tpl.c
parent3b117ce5f1b03375b73d0d8c556fdf30eb8d4606 (diff)
switch default MIN/MAG FILTER to match the usual value
Diffstat (limited to 'zetsubou/tpl.c')
-rw-r--r--zetsubou/tpl.c8
1 files changed, 4 insertions, 4 deletions
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);