Page 1 of 1

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

Posted: Thu Jun 06, 2024 8:31 pm
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?

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

Posted: Thu Jun 06, 2024 8:47 pm
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~

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

Posted: Fri Jun 07, 2024 5:00 am
by togFox
Welcome to the forums. Glad you worked it out. :)