Fix OpenGL pointers for Mesa/Linux