Re: [Plib-users] invalid OpenGL context problem
Brought to you by:
sjbaker
From: Roy W. <ro...@ce...> - 2002-01-08 14:13:31
|
>So I wonder if we could work around the problem in PLIB by detecting >a failure of glXGetCurrentContext, printing a warning message - then >waiting a couple of seconds and trying again? > >Can someone who has this problem try that fix? I got an updated version of Mesa from someone on the PLIB list that fixes the problem, but I'd be happy to revert to the old Mesa and try to patch PLIB. Be a bit more specific about what you mean by waiting though-- do you mean that within glIsValidContext(), if glXGetCurrentContext() returns NULL, we should literally sleep() for a second or two? Or were you thinking of something subtler? -Roy |