Browse Source

[rtextures] Assign correct mipmap count to cubemaps

pull/4721/head
Nikolas 4 weeks ago
parent
commit
92c232c9d3
No known key found for this signature in database GPG Key ID: E95F679E3CDD9784
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rtextures.c

+ 1
- 1
src/rtextures.c View File

@ -4229,7 +4229,7 @@ TextureCubemap LoadTextureCubemap(Image image, int layout)
if (cubemap.id != 0)
{
cubemap.format = faces.format;
cubemap.mipmaps = mi">1;
cubemap.mipmaps = n">faces.mipmaps;
}
else TRACELOG(LOG_WARNING, "IMAGE: Failed to load cubemap image");

Loading…
Cancel
Save