Hello everyone,
wglCreateContextAttribsARB() fails to create a context, if a shared context was specified. This did work fine with Catalyst 11.12 but since version 12.x. the return value is always NULL.
I've tried this on the Radeon HD6970 under Win7 x64.
Any suggestions??
Solved! Go to Solution.
Hi,
This sounds like it might be a regression. I will have someone look into it and see if we can find a root cause and possibly a workaround. Unfortunately, I don't have anything I can suggest you try right now. If you could make a failing test case available to us, it might help us find the issue faster.
Thanks,
Graham
Finally figured it out! I can easily reproduce the problem using 2 monitors with Catalyst 12.4!
Suppose that we are calling the function with the following parameters:
wglCreateContextAttribsARB(hDC, hShareContext, attribList)
If the windows of hDC and hShareContext positioned on two DIFFERENT MONITORS at creation time, the function fails to create a new context.
I'm using 2 identical monitors @1680x1050 with a single Radeon HD6970 GPU.
I hope this helps.
Hi,
Actually, this helps a lot. The more detailed the explanation, the better. We'll go bug hunting and get back to you.
Cheers,
Graham
Bug fixed in Catalyst 12.6.
Thanks