mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-09 11:26:32 +00:00
REVIEWED: rlTextureParameters()
, reset anisotropy level
This commit is contained in:
@@ -1516,6 +1516,11 @@ void rlDisableTextureCubemap(void)
|
||||
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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user