kvark / vange-rs

Rusty Vangers clone
https://vange.rs
Apache License 2.0
427 stars 21 forks source link

WebGL: wasm32-unknown-unknown didn't render anything #166

Closed caiiiycuk closed 2 years ago

caiiiycuk commented 2 years ago

With latest updates there is no any WebGL error both on unknown/emscritpen path. However emscripten :champagne: able to render something , but unknown have no frame updates.

Emscripten output: изображение

Unknown output: изображение

It feels like even context is not created or never updated. At least spector.js didn't detect active context.

caiiiycuk commented 2 years ago

Even no blue screen that was in previous version.

kvark commented 2 years ago

That's pretty wild!

caiiiycuk commented 2 years ago

Fixed it! Just need to disable alpha channel on canvas.

caiiiycuk commented 2 years ago

Will polish this soon, will keep you posted. Thanks for amazing work!