Error in pfTexFilter()'s documention?

New Message Reply Date view Thread view Subject view Author view

Ken Sakai (sakai++at++sgi600.msd.lmsc.lockheed.com)
Tue, 21 May 1996 08:54:54 -0700


I am not sure whether or not this problem has been reported already but
there appears to be a slight error in pfTexFilter()'s documention.

The man page prototype for pfTexFilter() in Performer 2.0 and 2.1 is
    void pfTexFilter(pfTexture *tex, int filt, int type);
      where "type may be one of PFTEX_MINFILTER, PFTEX_MAGFILTER,
             PFTEX_MAGFILTER_ALPHA, or PFTEX_MAGFILTER_COLOR"
      and "filter is a combination of bitmask tokens which specify a
             particular minification or magnification filter"
It SHOULD be
    void pfTexFilter(pfTexture *tex, int type, int filt);
              (Second and third arguments have been switched)

Using the man page verson will cause warnings to be issued which go away if
you assume the revised version. Source listings in /usr/share/Performer
(such as the Flt_V11 and DWB loaders) match the revised version, NOT the
man page version.

Kenneth N. Sakai Email: sakai++at++lmsc.lockheed.com
Research Specialist/Computer Graphics Phone: (408) 756-0682
Lockheed Martin Missiles & Space
Sunnyvale, CA 94088-3504
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
            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:52:54 PDT

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