projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4697cee
)
Set Min/MaxLod with glTexParameterf, not glTexParameteri
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 12 Feb 2008 22:53:37 +0000
(15:53 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 12 Feb 2008 22:54:15 +0000
(15:54 -0700)
progs/tests/mipmap_limits.c
patch
|
blob
|
history
diff --git
a/progs/tests/mipmap_limits.c
b/progs/tests/mipmap_limits.c
index b0a3be99ff3ce5ceb9d5104b32098b6793b63a60..d6d6e467b0ff22779514d72475679915c74e7f72 100644
(file)
--- a/
progs/tests/mipmap_limits.c
+++ b/
progs/tests/mipmap_limits.c
@@
-131,8
+131,8
@@
static void display(void)
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_BASE_LEVEL, BaseLevel);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, MaxLevel);
- glTexParameter
i
(GL_TEXTURE_2D, GL_TEXTURE_MIN_LOD, MinLod);
- glTexParameter
i
(GL_TEXTURE_2D, GL_TEXTURE_MAX_LOD, MaxLod);
+ glTexParameter
f
(GL_TEXTURE_2D, GL_TEXTURE_MIN_LOD, MinLod);
+ glTexParameter
f
(GL_TEXTURE_2D, GL_TEXTURE_MAX_LOD, MaxLod);
if (NearestFilter) {
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);