Several 'texParameter' errors per frame
ratkingsminion opened this issue · 4 comments
ratkingsminion commented
I use git Kha and Haxe 4.0.5. Target is JS. Basically I added a zui.window to the Kha Hello World, and I get errors every frame. The program is working though, there is no error in the functionality (as far as I can see).
kha/graphics4/PipelineState.hx:111: Warning: Sampler tex not found.
WebGL: INVALID_OPERATION: texParameter: no texture bound to target
WebGL: INVALID_OPERATION: texParameter: no texture bound to target
<snip>
kha/js/graphics4/Graphics.hx:146: WebGL error: Invalid operation
WebGL: INVALID_OPERATION: texParameter: no texture bound to target
WebGL: INVALID_OPERATION: texParameter: no texture bound to target
WebGL: INVALID_OPERATION: texParameter: no texture bound to target
WebGL: INVALID_OPERATION: texParameter: no texture bound to target
WebGL: INVALID_OPERATION: texParameter: no texture bound to target
WebGL: too many errors, no more errors will be reported to the console for this context.
kha/js/graphics4/Graphics.hx:146: WebGL error: Invalid operation
kha/js/graphics4/Graphics.hx:146: WebGL error: Invalid operation
kha/js/graphics4/Graphics.hx:146: WebGL error: Invalid operation
<snip>
sh-dave commented
If you don't need a bleeding edge Kha version, you could temporarily revert back to Kode/Kha@fe6c332 as a workaround.
ratkingsminion commented
Thank you! I mainly wanted to know if this was a configuration error on my part.
sh-dave commented
It seem the commit was reverted now (Kode/Kha@fbf2aa3 / Kode/Kha#1177), can you check if this also fixes your issue?
ratkingsminion commented
Yes, that fixed it. The only warning remaining is "kha/graphics4/PipelineState.hx:111: Warning: Sampler tex not found.", but I know that one is safe to ignore.