REVIEWED: rlTextureParameters()
, reset anisotropy level
This commit is contained in:
parent
7ed3d870fe
commit
309ad3e08b
1 changed files with 5 additions and 0 deletions
|
@ -1517,6 +1517,11 @@ void rlTextureParameters(unsigned int id, int param, int value)
|
|||
{
|
||||
glBindTexture(GL_TEXTURE_2D, id);
|
||||
|
||||
#if !defined(GRAPHICS_API_OPENGL_11)
|
||||
// Reset anisotropy filter, in case it was set
|
||||
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 1.0f);
|
||||
#endif
|
||||
|
||||
switch (param)
|
||||
{
|
||||
case RL_TEXTURE_WRAP_S:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue