WGL_PBUFFER_LARGEST_ARB

If I use this attribute should I be able to ask for a 4096x4096 pbuffer and get a 2048x2048 (or whatever) back?

When I try to use this I call wglCreatePbufferARB() which returns NULL. When I check GetLastError() I expect ERROR_NO_SYSTEM_RESOURCES, but GetLastError() returns NO_ERROR…

This is on a FX5900, 256megs.

I could easily manually loop while(null=createPbuffer) and manually quarter the size of the pbuffer I ask for to get the same effect, but I’d rather do it with attributes if that is the correct way.

Same problem here… FX5200
BTW, I can create 3040x3040 buffer too, so not only quarter, but looping results in crash for me with some steps…