mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix MAX_ANISOTROPY parameter
This commit is contained in:
parent
6ef2431e19
commit
f6c1ffc0c9
|
@ -316,7 +316,7 @@ namespace opengl {
|
|||
if (_parameters.maxMipmapLevel.isValid())
|
||||
glTextureParameteri(handle, GL_TEXTURE_MAX_LEVEL, GLint(_parameters.maxMipmapLevel));
|
||||
if (_parameters.maxAnisotropy.isValid())
|
||||
glTextureParameteri(handle, GL_TEXTURE_MAX_ANISOTROPY_EXT, GLfloat(_parameters.maxMipmapLevel));
|
||||
glTextureParameterf(handle, GL_TEXTURE_MAX_ANISOTROPY_EXT, GLfloat(_parameters.maxAnisotropy));
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue
Block a user