projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2956a0c
)
mipmap_limits: Fix display of current texture filtering mode.
author
Michel Dänzer
<michel@tungstengraphics.com>
Tue, 12 Dec 2006 08:23:53 +0000
(09:23 +0100)
committer
Michel Dänzer
<michel@tungstengraphics.com>
Thu, 14 Dec 2006 10:01:38 +0000
(11:01 +0100)
progs/tests/mipmap_limits.c
patch
|
blob
|
history
diff --git
a/progs/tests/mipmap_limits.c
b/progs/tests/mipmap_limits.c
index 3bcb8a88584ebd3f4dff139159138fdf60d05ca4..dc066cab1f0ba9ac890ee66a79a89e8ddd41df58 100644
(file)
--- 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);