pygame_shaders icon indicating copy to clipboard operation
pygame_shaders copied to clipboard

ValueError: Requested OpenGL version 330, got version 0

Open antazoey opened this issue 3 years ago • 0 comments

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.

antazoey avatar Jan 09 '23 01:01 antazoey