Skip to content

Instantly share code, notes, and snippets.

@abhikpal
Created July 24, 2017 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhikpal/c21b454f61f16ed2b2aa9ecd799735e7 to your computer and use it in GitHub Desktop.
Save abhikpal/c21b454f61f16ed2b2aa9ecd799735e7 to your computer and use it in GitHub Desktop.
import pyglet
pyglet.options['shadow_window'] = False
window = pyglet.window.Window()
print("OpenGL info:")
print(window.context.get_info().get_version())
print(window.context.get_info().get_renderer())
print(window.context.get_info().get_vendor())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment