Andrew Cross:
A 3.2 context requires an additional attribute to specify the profile.
Either:
WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB,
or
WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,
WGL_CONTEXT_PROFILE_MASK_ARB is not required, because according to spec, default value is WGL_CONTEXT_CORE_PROFILE_BIT_ARB. That means GL 3.2 should create a Core profile if this flag is not set.
There is some other problem. I’ve tried to create context as Andrew Cross created and it works. Even a glPixelStorei( GL_PACK_ALIGNMENT, 1 ); does not generate an error.
You are absolutely correct, I do seem to be able to create the device and execute basic functions however I seem to get glError’s the moment I make almost any other call. I am going to assume that this is something in our library code somewhere although I was unaware that any functionality had been depreciated between 3.1 and 3.2.
I forgot to thank you very much for your help on this issue. I really do appreciate you taking the time to look into other people’s potentially stupid problems
I have tracked down this issue a bit and wanted to see if anyone else sees this. If you create a 3.2 device and simple execute this call :
glEnableClientState is not valid in a 3.2 core profile.
You must specify the compatability profile if you want to use this function, or any other function that is shown in blue on the Quick Reference Card.