Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.48k stars 171 forks source link

Error improvement when call Assets.loadEverything before System.start #1466

Open RblSb opened 1 year ago

RblSb commented 1 year ago

Currently this mistake is complicated to debug, because:

We can throw this problem at step 1 if do not ignore null in SystemImpl.gl here 10 years ago: https://github.com/Kode/Kha/blob/2462f98275a24c24b65200a7e7fd9744339a4a11/Backends/HTML5/kha/CanvasImage.hx#L144-L146

Or maybe even earlier someway.