Skip to content
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

ValueError: Requested OpenGL version 330, got version 0 #4

Open
antazoey opened this issue Jan 9, 2023 · 0 comments
Open

ValueError: Requested OpenGL version 330, got version 0 #4

antazoey opened this issue Jan 9, 2023 · 0 comments

Comments

@antazoey
Copy link

antazoey commented Jan 9, 2023

Describe the bug

I tried to run the first example from the README and I get the following:

raise ValueError('Requested OpenGL version {0}, got version {1}'.format(
ValueError: Requested OpenGL version 330, got version 0

I am able to use moderngl by itself and render stuff, and I verified I have OpenGL engine 4.1 (410).

But when I comment out the check, I get version '330' is not supported, so I am inclined to believe that this lib is unable to find my OpenGL?

I am not sure! I have to admit I am a noob when it comes to OpenGL stuff.

To Reproduce

  1. Steal my mac
  2. Use it to follow README

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant