Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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))
Add Comment
Please, Sign In to add comment