TannerRogalsky / love.js

LÖVE ported to the web using Emscripten
MIT License
491 stars 52 forks source link

bad name in getProcAddress: glIsVertexArrayOES,glIsVertexArray #59

Closed danbolt closed 4 years ago

danbolt commented 6 years ago

On the latest revision (38ab12b) on master, I try running the following game:

function love.draw()
  love.graphics.setColor(1, 0, 0, 1)
  love.graphics.rectangle("fill", 100, 100, 100, 100)
end

Upon running in debug, I'm met with a blank screen and the following console output:

screen shot 2018-05-14 at 10 09 49 pm

Perhaps there's something I'm missing? It looks like an issue to do with SDL/WebGL, but I'm not 100% sure. Would updating Emscripten fix this?

kiwec commented 4 years ago

Same on 0.11 branch, seems like it renders some textures before freezing.

2019-10-18-205321_641x193_scrot

Using firefox on linux. Chromium throws a lot more gl* errors.

xharris commented 4 years ago

error I'm having a similar issue. Lovejs 0.11 worked perfectly for me before. Did something change with web browsers in general to break love.js?

EDIT: I've removed my custom love.run function and it works fine now...