Cannot create image (OpenGL error: invalid operation)

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
pauls313
Citizen
Posts: 50
Joined: Tue Aug 02, 2016 3:07 am

Cannot create image (OpenGL error: invalid operation)

Post by pauls313 »

On Android (no problem on Windows), I get this error every time I try to load the attached image file which was made using photoshop. It's quite a low resolution. Why am I getting this error?
Attachments
splash-screen.png
splash-screen.png (54.92 KiB) Viewed 13156 times
KyleCzar
Prole
Posts: 1
Joined: Fri Jun 21, 2019 2:46 am

Re: Cannot create image (OpenGL error: invalid operation)

Post by KyleCzar »

I get the same error on Android whenever I call

Code: Select all

love.graphics.newImage(path)
User avatar
ReFreezed
Party member
Posts: 612
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

Re: Cannot create image (OpenGL error: invalid operation)

Post by ReFreezed »

I'm not sure if it's the problem, but that image uses 16 bits per sample instead of the more common 8 bits.
Tools: Hot Particles, LuaPreprocess, InputField, (more) Games: Momento Temporis
"If each mistake being made is a new one, then progress is being made."
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests