From: Michel Dänzer Date: Tue, 12 Dec 2006 08:23:53 +0000 (+0100) Subject: mipmap_limits: Fix display of current texture filtering mode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78a6e054393533a9cb2fe9f5a087d10b0f15bd9c;p=mesa.git mipmap_limits: Fix display of current texture filtering mode. --- diff --git a/progs/tests/mipmap_limits.c b/progs/tests/mipmap_limits.c index 3bcb8a88584..dc066cab1f0 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);