mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Fixed bug: rlglGenerateMipmaps()
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user