X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture.cpp;h=4efa8ac998ad4ab80a3a6fa57a531b9d15422c18;hb=9b430dbef4f58a862320ebfcef7d1f8bff28b0dc;hp=fe27a04d9ddd830fa93f21d51052ec0ffc0da8cd;hpb=194f960f91041ebee44e2745627d5e480e893d82;p=libs%2Fgl.git diff --git a/source/texture.cpp b/source/texture.cpp index fe27a04d..4efa8ac9 100644 --- a/source/texture.cpp +++ b/source/texture.cpp @@ -100,7 +100,7 @@ void Texture::update_parameter(int mask) const if(mask&MAG_FILTER) glTexParameteri(target, GL_TEXTURE_MAG_FILTER, mag_filter); if(mask&MAX_ANISOTROPY) - glTexParameteri(target, GL_TEXTURE_MAX_ANISOTROPY_EXT, max_anisotropy); + glTexParameterf(target, GL_TEXTURE_MAX_ANISOTROPY_EXT, max_anisotropy); if(mask&WRAP_S) glTexParameteri(target, GL_TEXTURE_WRAP_S, wrap_s); if(mask&WRAP_T)