Skip to content

Conversation

JJscott
Copy link
Contributor

@JJscott JJscott commented Sep 1, 2017

Update provides code for backing up the polygon draw mode for front and back faces, then setting to FILL for rendering the draw lists, then restoring the polygon draw mode to it's previous state.

For OpenGL 3+ you can not set the FRONT and BACK draw modes separately, so we set it using the only the FRONT mode from back up we made.

Changes made to all 4 OpenGL client examples.

@ocornut ocornut merged commit d165817 into ocornut:master Sep 1, 2017
@ocornut
Copy link
Owner

ocornut commented Sep 1, 2017

Thank you @JJscott for such a well formed pull request. Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants