Performer Fatal: pfRealloc() can't realloc from NULL a pointer

New Message Reply Date view Thread view Subject view Author view

Tawfek Mukhtar (tawfek++at++media1.rndtm.com.my)
Fri, 15 Mar 1996 10:38:45 -0800


I got the message
Performer Fatal: pfRealloc() can't realloc from NULL a pointer
when I try to simulate a light in my scene as the following

 roomLight = pfNewLight(pfGetSharedArena());
    pfLightPos(roomLight, 0.0f, 0.0f, 3.0f, 1.0f);
    pfPushIdentMatrix();
    pfLightColor(roomLight, 1.0f, 0.0f, 0.0f);
    pfSpotLightDir(roomLight, 0.0f, 0.0f, -3.0f);
    pfSpotLightCone(roomLight, 1.0f, 15.0f);
    pfLightOn(roomLight);
    pfPopMatrix();

Can anyone explain this?. Thanks
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:36 PDT

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