Allan Schaffer (allan++at++southpark.engr.sgi.com)
Tue, 14 Jul 1998 14:06:27 -0700 (PDT)
pfEnable() is an immediate-mode routine that (in this context)
eventually boils down to an OpenGL call. In the sample given, at
that point the application doesn't have an OpenGL window open, so I
would guess that how the system reacts (a core dump, or just
ignoring it) is luck of the draw.
Also, it's incorrect form to put graphics calls (libpr graphics
calls, in this case) in your main Performer loop -- if you were
multiprocessing, only the draw process would have access to OpenGL.
So you'd need to put those calls in a draw process callback.
Allan
--
Allan Schaffer allan++at++sgi.com
Silicon Graphics http://reality.sgi.com/allan
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:42 PDT