Skip to content

IECoreGL : Restore CurvesPrimitive OpenGL 2.1 compatibility#1534

Open
murraystevenson wants to merge 2 commits into
ImageEngine:mainfrom
murraystevenson:curvesPrimitiveGL2.1Compatibility
Open

IECoreGL : Restore CurvesPrimitive OpenGL 2.1 compatibility#1534
murraystevenson wants to merge 2 commits into
ImageEngine:mainfrom
murraystevenson:curvesPrimitiveGL2.1Compatibility

Conversation

@murraystevenson
Copy link
Copy Markdown
Collaborator

The GL shader adjustments in #1526 bumped Shader::defaultVertexSource() to requiring OpenGL 3.2 Compatibility Profile, which is not supported on macOS. This PR adds a workaround to maintain support with GL 2.1 with a todo to revert it once we can target a more modern OpenGL version supported by all platforms...

This isn't ideal, but will allow the OpenGL Scene Viewer in Gaffer 1.7 to continue to work on macOS.
These were added with the conversion to raw string literals in cab67a2 and lead to syntax errors when the shaders are compiled on macOS.
@murraystevenson murraystevenson self-assigned this May 29, 2026
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.

1 participant