Skip to content

Conversation

@camierjs
Copy link

@camierjs camierjs commented Oct 5, 2025

This PR should allow #338 to work on MacOS with CGL (Core OpenGL).

@camierjs camierjs self-assigned this Oct 5, 2025
@camierjs camierjs requested a review from najlkin October 5, 2025 19:37
@camierjs camierjs added this to the glvis-4.4 milestone Oct 5, 2025
@camierjs camierjs requested a review from tzanio October 5, 2025 20:12
@tzanio
Copy link
Member

tzanio commented Oct 5, 2025

Thanks @camierjs !

Copy link
Contributor

@najlkin najlkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @camierjs ! 👍

// initialize GLEW before using any OpenGL functions
const auto status = caller->initGLEW(legacy_gl);
MFEM_VERIFY(status, "GLEW initialization failed!");
assert(glGetError() == GL_NO_ERROR);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

glGetError() could be checked in initGLEW(), so this (and the #include) would not be needed 🤔 .

@najlkin najlkin merged commit e29e622 into cgl-headless Oct 7, 2025
10 checks passed
@najlkin najlkin deleted the cgl-headless-dbg branch October 7, 2025 00:17
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.

4 participants