summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-12-12 09:23:53 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2006-12-14 11:01:38 +0100
commit78a6e054393533a9cb2fe9f5a087d10b0f15bd9c (patch)
treed35ff6417acdb48b300e5d1561d2b53c81267620 /progs
parent2956a0c8a8395e4d9ae00888aeb88ea5c38b89ad (diff)
mipmap_limits: Fix display of current texture filtering mode.
Diffstat (limited to 'progs')
-rw-r--r--progs/tests/mipmap_limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/mipmap_limits.c b/progs/tests/mipmap_limits.c
index 3bcb8a8858..dc066cab1f 100644
--- a/progs/tests/mipmap_limits.c
+++ b/progs/tests/mipmap_limits.c
@@ -127,7 +127,7 @@ static void display(void)
GLfloat tcm = 4.0;
printf("BASE_LEVEL = %d MAX_LEVEL = %d MIN_LOD = %f MAX_LOD = %f Bias = %.2g filter = %s\n",
BaseLevel, MaxLevel, MinLod, MaxLod, LodBias,
- NearestFilter ? "LINEAR" : "NEAREST");
+ NearestFilter ? "NEAREST" : "LINEAR");
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_BASE_LEVEL, BaseLevel);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, MaxLevel);