pfLoadTex vs pfDirtCheck

New Message Reply Date view Thread view Subject view Author view

Erik Brisson (ebrisson++at++tonka.bu.edu)
Wed, 7 Jul 1999 16:28:16 -0400 (EDT)


Hi,

I am trying to create images on the fly and load them as textures,
basically repeating the following in my app process:

    pfTexImage(tex, im, nc, sx, sy, sz);
    pfLoadTex(tex);

This works when using a single process but not when using multiple processes.
In the latter case I get a pfDirtCheck error:

PF Fatal/SysErr: _pfDirtCheck: pfRealloc of 0 bytes returned NULL.

Does pfLoadTex have to be called in a particular process (rather than the app
process)? Or is there some object which I need to be explicitly allocating
from shared memory which is not obvious (to me)?

Thanks for your suggestions (or code which does what I am trying to do, as
opposed to using pfTexLists, etc.)

Erik


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Jul 07 1999 - 13:28:25 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.