pex-context icon indicating copy to clipboard operation
pex-context copied to clipboard

Use webgl-debug in debug mode

Open vorg opened this issue 7 years ago • 2 comments

Using https://www.npmjs.com/package/webgl-debug would allow use to catch invalid enums and other gl errors.

vorg avatar May 15 '18 12:05 vorg

Is there any advantage over the current checkError()?

dmnsgn avatar Mar 20 '19 14:03 dmnsgn

Yes it checks for invalid enums and parameters of function calls. So you can catch error when it happens not at some point in the future or end of frame.

vorg avatar Mar 20 '19 14:03 vorg