I'm also using dglOpenGL header with FPC under windows. I've read somewhere that it's better to use it than those shipped with lazarus. Project works ok on both cards in my laptop, opengl 3.1 and 4.2 modes