문제

In my application, it crashes when I try to create wglCreateContextAttribsARB for the 128th time. It is always the 128th time, I always pass the same arguments, and it always returns 0x2095(ERROR_INVALID_VERSION_ARB). I know that it is a valid version, due to the fact that it works the first 127 times.

Is there any reason for this function call failing at this specific number?

도움이 되었습니까?

해결책

I'd bet on driver limitation, aka a bug.

That said, ask yourself why you need so many calls to the context creation function. A typical application uses 1. Many applications use 1 per window. What are you trying to do that requires 128 contexts?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top