Skip to content

Conversation

philjord
Copy link
Contributor

@philjord philjord commented Jun 9, 2019

JoglPipeline.textureFillBackground did not restore depth mask gl state

This pull fixes that.
It causes immediate mode rendering to have corrupted depth masks on 2 successive render calls.

Note I've dropped a previous use/release context commit on this pull as it was unlikely to be useful on this version.

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)
@ghost
Copy link

ghost commented Jun 12, 2019

It looks good to me.

@philjord philjord changed the title The Renderer now wraps a use/release context call pair around any of the JoglPipeline.textureFillBackground did not restore depth mask gl state Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants