Skip to content

Instantly share code, notes, and snippets.

@abhikpal
Created June 18, 2018 19:23
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/69a5f506ef0689040560d511f6f5633f to your computer and use it in GitHub Desktop.
Save abhikpal/69a5f506ef0689040560d511f6f5633f to your computer and use it in GitHub Desktop.
import vispy
vispy.use('glfw')
required_extensions = [
'GL_ARB_framebuffer_object',
'GL_EXT_framebuffer_object',
'GL_EXT_framebuffer_blit',
'GL_EXT_framebuffer_multisample',
'GL_EXT_packed_depth_stencil',
]
avail_ext = vispy.sys_info()
print("Framebuffer support:")
for ext in required_extensions:
marker = 'X' if ext in avail_ext else '_'
print("[{}] - {}".format(marker, ext))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment