summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-12 15:53:37 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-12 15:53:37 -0700
commitedc7cfa6e689f15ab4470ed888bbbe224457b523 (patch)
treed2eb2e8556fa894a77ca887ba632cbfbd8339062 /progs
parentfb3ca7ee2d7c6ec0252d1f7e5773593f61ca4415 (diff)
Set Min/MaxLod with glTexParameterf, not glTexParameteri
Diffstat (limited to 'progs')
-rw-r--r--progs/tests/mipmap_limits.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/tests/mipmap_limits.c b/progs/tests/mipmap_limits.c
index b0a3be99ff..d6d6e467b0 100644
--- 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);
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_LOD, MinLod);
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LOD, MaxLod);
+ glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_LOD, MinLod);
+ glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_LOD, MaxLod);
if (NearestFilter) {
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);