I'm trying to move a codebase I have from GL2 to GL3 and as soon as I call glGenRenderbuffers() I get EXC_BAD_ACCESS. I think the function pointer itself is the problem and not the second pointer parameter (the code works perfectly when using a GL 2.X profile with GLEW extension loading). Any ideas?