From 89db9d1f5441d26da640265ad0d883c355e19880 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sun, 29 Mar 2009 18:35:17 +0000 Subject: [PATCH] add 'mipmap' as simple filter type --- panda/src/egg/eggTexture.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/egg/eggTexture.cxx b/panda/src/egg/eggTexture.cxx index f88eb4474e..a1dd82f584 100644 --- a/panda/src/egg/eggTexture.cxx +++ b/panda/src/egg/eggTexture.cxx @@ -829,7 +829,9 @@ string_filter_type(const string &string) { } else if (cmp_nocase_uh(string, "bilinear") == 0) { return FT_linear; } else if (cmp_nocase_uh(string, "trilinear") == 0) { - return FT_linear; + return FT_linear_mipmap_linear; + } else if (cmp_nocase_uh(string, "mipmap") == 0) { + return FT_linear_mipmap_linear; } else if (cmp_nocase_uh(string, "mipmap_point") == 0) { return FT_nearest_mipmap_nearest; } else if (cmp_nocase_uh(string, "mipmap_linear") == 0) {