From: Yair Kurzion (yair++at++polygon.engr.sgi.com)
Date: 02/07/2001 16:02:27
> yeah! And by the way -- what's up with this error:
>
> I put this in my code:
>
> pftri -> tbind = PFGS_OFF;
>
> comes right out of the man page for both pfdGeoBuilder and pfdBuilder and I
> get this error:
>
> 'Expression must be a modifiable lvalue.'
>
> I'm just trying to DISABLE texture binding! (right?) aaargh
>
> thanks for any help in these matters..
Missed the man page (Sorry). The 2.4 release notes explain the changes in
pfdPrim and pfdGeom. For turning texture OFF you should now code:
{
int t;
for (t = 0 ; t < PF_MAX_TEXTURES ; t ++)
p -> tbind[t] = PFGS_OFF;
}
All the texture related members of pfdPrim and pfdGeom are now arrays of
size PF_MAX_TEXTURES. This change is a part of the support for the OpenGL
multitexture extension.
Thanks for finding this,
-yair
--
\_________ \_____ \__ \__ \_____ Yair Kurzion
\_________ \_____ \__ \__ \_____ yair++at++sgi.com
\__ \__ \____\__ \__ http://reality.sgi.com/yair
\__ \__ \__ Work: (650) 933-6502
\__ \__ \__ Home: (408) 226-9771
\__ \__ \__
This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 16:02:30 PST