flyover/imgui-js

This code does not correctly save/restore WebGL state

greggman opened this issue · 1 comments

gl && gl.enableVertexAttribArray(g_AttribLocationPosition);

The attribute state is being overwritten and then not restored.

Thanks for the bug report. I've updated the example to more closely match the OpenGL 3 example. See a1a2905.