As this is the process to query extension in glew.c it does not work with an opengl 3 core/forward context.
glGetStringi must be used
See attached glew.c modified from 1.6.0
Nigel - any update on this set of bugs relating to GLEW completely failing in core contexts?
As a developer, this lack of core context support is a deal breaker for using GLEW so we have to do our own extension loading (still) :( 2010 was 5 years ago which is a lot of pushing out of a bug....
Indeed this issue of core context support has dragged on for a long time.
There are two github pull requests I'm currently evaluating:
Further discussion, refinement, clarification and testing of these would be helpful.
I went ahead and organized these into a "GLEW 2.0" milestone:
Fixed in the upcoming GLEW 2.0.0. A preview snapshot is available: https://github.com/nigels-com/glew#recent-snapshots Closing this.