"Image does not have all required mipmap levels (expected 7, got 5)"

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
exist01
Prole
Posts: 2
Joined: Wed May 15, 2024 6:54 am

"Image does not have all required mipmap levels (expected 7, got 5)"

Post by exist01 »

I'm trying to draw an image and getting this error. Doing some searching, I've learned that "required mipmap levels" has to do with the dimensions of the image being drawn, which in this case is 64x64 pixels = 7 required levels. However, for some reason my images only have 5 levels. Thus, it seems that I am unable to draw images that have greater than 5 mipmap levels (16x16 pixels), which makes no sense. Does anyone know what this error is about and why I'm getting it?
exist01
Prole
Posts: 2
Joined: Wed May 15, 2024 6:54 am

Re: "Image does not have all required mipmap levels (expected 7, got 5)"

Post by exist01 »

Ah I figured it out, I was passing in the wrong variable, and I guess Love2D interpreted the object being passed in as an image with 5 mipmap levels, when it was a table with 5 objects. Oops~
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: "Image does not have all required mipmap levels (expected 7, got 5)"

Post by togFox »

Welcome to the forums. Glad you worked it out. :)
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Turn-based PBEM horse stable (racing) management sim: https://togfox.itch.io/horse-stable-manager
https://discord.gg/HeHgwE5nsZ
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests