Allan Schaffer (aschaffe)
Thu, 3 Nov 1994 17:21:30 -0800
Generally speaking this code is OK.
I suspect that this is a multiprocessing issue, probably caused by
the 'gstate' data pointed to by gstate_list[0] not being visible by
this process.
As a quick check to verify this is the problem, put your program in
single-process mode via pfMultiprocess(PFMP_APPCULLDRAW).
pfGetCurMtl() just dereferences the "current geostate" (which you had
just loaded with pfLoadGState) so make sure that 'gstate' is valid.
In particular, make certain that the gstate's in gstate_list are
being allocated in shared memory.
Allan
-- Allan Schaffer Silicon Graphics aschaffe++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:38 PDT