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
Prole
Posts: 46
Joined: Tue Aug 02, 2016 3:07 am

Cannot create image (OpenGL error: invalid operation)

Post by pauls313 » Sun Apr 14, 2019 6:56 am

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 7596 times

KyleCzar
Prole
Posts: 1
Joined: Fri Jun 21, 2019 2:46 am

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

Post by KyleCzar » Fri Jun 21, 2019 3:09 am

I get the same error on Android whenever I call

Code: Select all

love.graphics.newImage(path)

User avatar
ReFreezed
Citizen
Posts: 70
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

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

Post by ReFreezed » Thu Jun 27, 2019 7:35 am

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: LuaPreprocess, LuaHotLoader
Games: Momento Temporis: Light from the Deep, Momento Temporis: Arena, Energize!
"If each mistake being made is a new one, then progress is being made."

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 10 guests