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 15:56:04


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 - 15:56:10 PST

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