REVIEWED: rlTextureParameters()
, reset anisotropy level
This commit is contained in:
parent
7ed3d870fe
commit
309ad3e08b
1 changed files with 5 additions and 0 deletions
|
@ -1516,6 +1516,11 @@ void rlDisableTextureCubemap(void)
|
||||||
void rlTextureParameters(unsigned int id, int param, int value)
|
void rlTextureParameters(unsigned int id, int param, int value)
|
||||||
{
|
{
|
||||||
glBindTexture(GL_TEXTURE_2D, id);
|
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)
|
switch (param)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue