diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-02-12 15:53:37 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-02-12 15:54:15 -0700 |
commit | cf949411221211a278c169e917756aa4f9aba49f (patch) | |
tree | 94dc63df98e2f9b4cf0fc05b2b5dd7226fdac791 /progs/tests | |
parent | 4697cee78b356c07cde6ec7f36a41d74d82ec38f (diff) |
Set Min/MaxLod with glTexParameterf, not glTexParameteri
Diffstat (limited to 'progs/tests')
-rw-r--r-- | progs/tests/mipmap_limits.c | 4 |
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); |