Fixed bug: rlglGenerateMipmaps()
This commit is contained in:
parent
546c727520
commit
95da97fa74
3 changed files with 15 additions and 24 deletions
|
|
@ -1271,9 +1271,9 @@ void GenTextureMipmaps(Texture2D texture)
|
|||
{
|
||||
TraceLog(WARNING, "Limited NPOT support, no mipmaps available for NPOT textures");
|
||||
}
|
||||
else rlglGenerateMipmaps(texture.id);
|
||||
else rlglGenerateMipmaps(texture);
|
||||
#else
|
||||
rlglGenerateMipmaps(texture.id);
|
||||
rlglGenerateMipmaps(texture);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue