Problems with Pfenable

New Message Reply Date view Thread view Subject view Author view

Roni Kass (roni++at++dreamteam-ltd.com)
Wed, 08 Jul 1998 17:52:53 +0300


A (I hope) simple question..

The following short-code, crashes on the O2 && indy when it reaches
"pfEnable". On the impact R10000 and on the onyx - it works.

Does anyone know why ?? are there any more initializations that will
make it work ??

---------------------- The code ---------------------------------------

#include <iostream.h>

#include <Performer/pf.h>
#include <Performer/pr.h>

main()
{
    pfInit();
    pfMultiprocess(PFMP_APPCULLDRAW);
    pfConfig();
    pfPhase(PFPHASE_FLOAT);

    cout << "bfr pfEnable\n" << flush;
    pfEnable(PFEN_TEXGEN);
    cout << "aftr pfEnable\n" << flush;
}

---------------------- The code ---------------------------------------

compilation: CC test_tgen.C -o test_tgen -lpf_ogl -lfpe

   Thanks in advance.

     Roni Kass
    DreamTeam Ltd.

=======================================================================
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:57:41 PDT

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