not using glew for extension queries allows greater flexibility