shademodel
Gretchen Helms
ghelms at hellfire.sgi.com
Fri Feb 16 08:09:37 AEST 1990
(Jim Blue) writes:
>I just got my Personal Iris and was trying to run the examples in the
>Graphics Library Programming Guide. The very first example bombed with
>Segmentation Error. The offending line is
> shademodel(FLAT);
>If I take out this line, it works. Doing
> shademodel((long)FLAT);
>doesn't help.
If you are referring to the sample program
"red.c" on page I-5 in the Introduction,
that is what we refer to as a "documentation
bug", and already has a bug report filed on
it by myself.
>Does shademodel work for others?
Essentially, the call to shademodel(FLAT)
MUST occur AFTER the call to winopen. If you
call it BEFORE winopen, it will toss its
cookies and die.
I will do my best to get this fixed in the
next documentation update.
G. "Murdock" Helms A host is a host & from coast to coast
Silicon Graphics No one will talk to a host that's close
Product Support Engineer Unless the host (that isn't close)
ghelms at sgi.sgi.com Is busy, hung or dead. -D. Lesher
More information about the Comp.sys.sgi
mailing list