Re: [Plib-users] invalid OpenGL context problem
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2002-01-08 01:39:18
|
Roy Wood wrote: > After some investigation, I've determined that the glut calls to set up > the window are all completing correctly, but it seems as if there is a > delay in the window creation such that puInit() is called before the > window actually appears. I tried delaying the call to puInit() and can > actually see the window pop, but other calls to PLIB functions cause > things to eventually crap out (I may be able to tweak it into working > correctly, but it was getting late and I was tired). 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? > So, any of you folks ever run into anything like this before? Any > suggestions? The problem has been noted in RedHat and Mandrake systems (and there is something similar in Mac OSX - but I'm not sure it's the same cause). You are the first person to nail down these interesting details that might point the way to a work-around. ----------------------------- Steve Baker ------------------------------- Mail : <sjb...@ai...> WorkMail: <sj...@li...> URLs : http://www.sjbaker.org http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net http://lodestone.sf.net |