Re: When can I call glEnable()?

New Message Reply Date view Thread view Subject view Author view

From: Scott Herod (herod++at++rtset.com)
Date: 03/09/2000 16:17:06


It's probably bad form to answer your own mail....

Someone suggested that I look at Allan's article in which he answers
these.

https://www.sgi.com/developers/devnews/2000/q1_00/d-performer_4_linux-q1_00.html

Scott

I wrote:
>
> Hello,
>
> I have a couple of question regarding when it is possible to call
> glEnable(). I want to enable the stencil test and keep it enabled.
> Apparently glEnable() must be called in a draw callback to take effect.
> I've tried calling it after pfInit() and prior to pfConfig() without
> having stencil testing take effect. Is this what I should expect?
>
> Second,
>
> pfInit();
> glEnable( GL_STENCIL_TEST );
> pfConfig();
>
> core dumps on the pfEnable() in performer for linux but runs ok in
> IRIX even if the glEnable() has no effect. ( Placing the glEnable
> in a draw callback works fine on both. ) Can someone suggest why
> it is different on Linux?
>
> Thanks,
>
> Scott Herod
> herod++at++rtset.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Mar 09 2000 - 16:17:16 PST

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