PDA

View Full Version : need opengl X Motif help: invisible



syan
02-03-2005, 07:57 AM
Hi guys:

I just started to learn X. My problem was when the program started, the glxarea widget won't show anything. But after I resized the window (using mouse), I could see the rendering, why?

I have been trying to find out the problem for hours... quite frustrating. Any suggestions?

Thanks,

RigidBody
02-06-2005, 08:51 AM
maybe you added only an XmNresizeCallback. try to use the same function as XmNexposeCallback.