Browse Source
[rtextures] Assign correct mipmap count to cubemaps
pull/4721/head
Nikolas
4 weeks ago
No known key found for this signature in database
GPG Key ID: E95F679E3CDD9784
1 changed files with
1 additions and
1 deletions
-
src/rtextures.c
|
|
@ -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"); |
|
|
|
|
|
|
|