Skip to content

Added support for using OpenGL in subprocess in Windows pipeline #1987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

naveen521kk
Copy link
Member

@naveen521kk naveen521kk commented Aug 31, 2021

Overview: What does this pull request change?

There is an environment variable in glcontext which can be used for the
locating the opengl32.dll. Use that instead of dynamically loading the
DLL which is error prone.

I have made a PR in moderngl for changing this in their docs moderngl/moderngl#477

Motivation and Explanation: Why and how do your changes improve the library?

Could help #1982

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

There is an environment variable in glcontext which can be used for the
locating the `opengl32.dll`. Use that instead of dynamically loading the
DLL which is error prone.
Copy link
Collaborator

@k4pran k4pran left a comment

Choose a reason for hiding this comment

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

Looks good and works with #1982, this makes testing with opengl renderer easier. Thank you very much

@k4pran k4pran added the opengl Concerning the OpenGL renderer. label Aug 31, 2021
@k4pran k4pran changed the title CI: Add support for using Opengl in Subprocess (Windows) Added support for using OpenGL in subprocess in Windows pipeline Aug 31, 2021
@k4pran k4pran added the infrastructure Anything related to our infrastructure label Aug 31, 2021
@k4pran k4pran merged commit fb68023 into ManimCommunity:main Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Anything related to our infrastructure opengl Concerning the OpenGL renderer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants