Fix EBO ordering and context-loss handling in GL viewport
setIndexSet could run before the scene's buffers were generated (ebo == 0),
causing GL_INVALID_OPERATION "buffer not bound". Now the index set is retained
and applied only once the scene is uploaded, re-applied after a fresh upload,
and GL handles are dropped/re-queued on context (re)init.
Co-Authored-By:
Claude Opus 4.8 <noreply@anthropic.com>
Please register or sign in to comment