Closed IoriBranford closed 2 years ago
Do you create the canvas with format rgba8?
edit: looks like rgba8 is the default canvas format, according to the wiki: https://love2d.org/wiki/CanvasFormat
You might just want to experiment with different canvas formats and see if a different one works.
This is likely because I didn't push the 11.4 to npm yet. My bad. I will do once I implement https://github.com/Davidobot/love.js/issues/61
All pushed now: https://www.npmjs.com/package/love.js/v/11.4.1
A web build of this project with the latest love.js from npm fails with the above error. https://github.com/ioribranford/dragontail dragontail-web.zip
This project built with the same version of love.js doesn't have that problem. https://github.com/ioribranford/ld49 jennybee-web.zip
They both create the window manually (not with conf.lua) and draw to a canvas. I think the problem is on my end but it's not obvious where to start looking.