From: Brian Date: Tue, 12 Feb 2008 22:53:37 +0000 (-0700) Subject: Set Min/MaxLod with glTexParameterf, not glTexParameteri X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7057a031f196f677366d0d397951aa87932ac887;p=mesa.git Set Min/MaxLod with glTexParameterf, not glTexParameteri --- diff --git a/progs/tests/mipmap_limits.c b/progs/tests/mipmap_limits.c index b0a3be99ff3..d6d6e467b0f 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);