I've put a lazy context creation into the renderer loop so the doClear call is not needed.
I've had to push this onto an older commit so I hope it can be pulled without trouble.
My fork of 1.6.0 is the basis of my 1.7.0 repo so I haven't been pulling all the changes into it (I've been creating them as new commits at the head).
Hopefully this pull is just for the 2 files changed in 1 commit not the 862 files in 17 commits github wants to show me.
The Renderer now wraps a use/release context call pair around any of the
Pure Immediate mode operations in the main doWork loop.
The renderer also now lazily creates a context on the first Pure
Immediate mode call.
GarphicsContext3D calls makeCxtCurrent in doClear in the case where a
context had to be created (that creation call should in fact now be
redundant but it is left in)
I've put a lazy context creation into the renderer loop so the doClear call is not needed. I've had to push this onto an older commit so I hope it can be pulled without trouble.
My fork of 1.6.0 is the basis of my 1.7.0 repo so I haven't been pulling all the changes into it (I've been creating them as new commits at the head).
Hopefully this pull is just for the 2 files changed in 1 commit not the 862 files in 17 commits github wants to show me.
The Renderer now wraps a use/release context call pair around any of the Pure Immediate mode operations in the main doWork loop. The renderer also now lazily creates a context on the first Pure Immediate mode call. GarphicsContext3D calls makeCxtCurrent in doClear in the case where a context had to be created (that creation call should in fact now be redundant but it is left in)