Re: XForms: Flushing events

Steve Lamont (spl@pitstop.ucsd.edu)
Wed, 11 Mar 98 10:27:45 PST

# To subscribers of the xforms list from spl@pitstop.ucsd.edu (Steve Lamont) :

> The problem I'm having is that it merrily chugs away, renders
> a scene, does a glFinish and glXSwapBuffers, writes out
> the canvas, and goes on to the next scene. But because it's not
> in a normal xforms event loop, the canvas doesn't get an expose
> event and isn't actually updated, so I wind up with all black
> canvases...

Actually, the canvas should get updated whether the XForms event loop
is called or not. Unless your code is somehow depending upon the
Expose event to update the display, it shouldn't matter.

I'd suggest making sure that you have the correct GLXContext and check
for OpenGL errors.

I've written code with does this sort of animation in the past and not
had any difficulty.

I don't think it's an XForms problem.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/