mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-20 02:08:14 +00: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